Getting the GUI to access and use changed variables

Hi,
I'm trying to implement a GUI which when you click the new button, a new Jframe appears on screen. The user then selects an item from a list and clicks ok. The item they select is then used as an argument to call a method from the system class. The problem is when I run the program, the GUI gets the values of the variables from the system class, before the new button and the item are selected. How can I make the Gui get the new values.?? Any help would be great as its doing my head in,
cheers

The problem is when I run the program, the GUI gets the values of the
variables from the system class, before the new button and the item are selected. No idea what you are talking about.
If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program (SSCCE) that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
And don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags so the code retains its original formatting.

Similar Messages

  • I can not get any updates and therefor not use Java as it only run updates for Mac 10.7. and later? How do i get the updates to install and use Java?

    I can not get ny updates and therefore not use Java, as it only run updates for MAC 10.7. and later. How do i get the updates to install and use JAVA ?

    In Snow Leopard you update Java from Software Update (in the Apple menu). You can check your version by opening Terminal and typing
    java -version
    (don't get creative and type anything else)
    The latest version is 1.6.0_65.

  • I am on i tunes with an i pod shuffle. I now want to get the i phone 3gs and use as an i pod as well as a phone. will my computer be ok for that? how can I find out

    I am om i tunes with an i pod shuffle. I am now thinking of getting the i phone 3 gs. How do I know if my computer will be ok to download tunes?

    you shouldn't have a problem, itunes allows up to a certain number of devices on the same account, around 10 maybe? we have 2 iphones, an ipod touch 4g and an ipod nano syncing and downloading from the same itunes account.

  • TS4425 when trying to access photo stream on Apple TV, I am getting the error message terms and conditions have changed, but when I go into iCloud on my Mac the new terms and conditions are not appearing - How can I manually agree to them ?

    When trying to access photo stream on Apple TV, I am getting the error message terms and conditions have changed, but when I go into iCloud on my Mac the new terms and conditions are not appearing - How can I manually agree to them ?

    Welcome to the Apple Community.
    The following article(s) may help you.
    Photo Stream ToU's

  • I just got an iphone and am trying to connect it to my itunes account.  Getting the message " This iphone cannot be used because the Apple Mobile Device service is not started.  How do I start it?  Have already been back to the store with it and no change

    I just got an iphone and am trying to connect it to my itunes account.  Getting the message " This iphone cannot be used because the Apple Mobile Device service is not started.  How do I start it?  Have already been back to the store with it and no change.

    http://tinyurl.com/3hs3g2u

  • Creative Cloud Student and Teacher Edition .I use the Macbook.I got the mail that said my order was checked,but I don't get the number.So I still use trial.Hoe can I change my character into member?

    Creative Cloud Student and Teacher Edition .I use the Macbook.I got the mail that said my order was checked,but I don't get the number.So I still use trial.Hoe can I change my character into member?

    This is an open forum, not Adobe support... you need Adobe support to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • When I OCR two versions of the same document and then compare th documents in Acrobat Pro XI, I usually get the message that there are no changes to mark.  However, I know there a quite a few number of changes.  I raised this question more than a year ago

    When I OCR two versions of the same document and then compare the documents in Acrobat Pro XI, I usually get the message that there are no changes to mark.  However, I know there a quite a few number of changes.  I raised this question more than a year ago, and the response I received had to do with the quality of the OCR and the scans of the documents.  However, if I use Acrobat Pro XI to save the same documents in Word and then run a comparison in Word all of the changes are marked.  When a PDF is saved as a Word document in Acrobat Pro XI, is a different OCR module being used than the one used in Acrobat Pro XI for text recognition?

    OCR is only for recoginition of the image / picture of text provided by an scanner.
    Content typed into a Word file which is converted to a PDF is (in Word and in PDF) *not* an image  or picture of text - it is the digital text. So, no OCR involved.
    When the "digital" (renderable) text of a PDF's page content is exported to Word no OCR is involved.
    When a PDF's content is from the image output of a scanner and this is a picture of text then OCR comes into play.
    If this content is exported to Word before doing OCR then it is the image that is exported to the Word file.
    Once OCR is performed it is the OCR output that is exported.
    OCR output is (always will be) impacted by "the quality of the OCR and the scans of the documents". 
    Regardless "Compare" is based on a Word file output to PDF1 then edits to the Word file followed by an output to PDF2. You use Acrobat Pro to do a compare of PDF1 & PDF2.
    Paper 1 scanned to image 1 to image 1 in PDF1 that gets OCR 1 and
    Paper 2 scanned to image 2 to image 2 in PDF2 that gets OCR 2
    being processed with Acrobat Pro's Compare can certainly be done.
    But - well you've described what can be observed.
    Be well...

  • I need to know how to access and use the Blue Tooth device that comes with the Thinkpad W520

    Forgive me for being a techo illiterate. But I know that this thing supports Blue Tooth. And one "problem" with it is although it has a DVD and sound card, music and movies have very lousy audibility. Is there something I can do about that? I can barely hear anything on a movie unless I plug in head phones to the computer. But that leaves me stuck in my seat. I'd like to get cordless headsets. And I'm ready to purchase the Plantronics BackBeat 903+ Wireless Stereo Headphones - Mic, Rich Audio, Bass-boost, Voice Alerts, OpenMic, 3-way Earpiece. And have heard that it's compatable with a pc that has Bluetooth capabilities. but could someone get back to me with exactly how I access and use the Blue Tooth device?

    I was searching for how to setup the 903+ and my W520 and came to this thread.
    1. The OP was asking about audio and there are updated audio drivers / tweaks to get it louder / install different drivers.
    but if you are going to go BT headset....
    2.  What I did for the 903+
    Uninstalled the currently installed ThinkPad Bluetooth program. ( I forget the exact name, came stock and was out of date).
    Required reboot.
    Activated the Bluetooth with FN + F5 menu.
    Downloaded the updated Bluetooth driver from lenovo (search lenovo driver matrix).
    Ran the updated Bluetooth driver install.
    Rebooted for good measure.
    Double-clicked the Bluetooth Tray icon.
    Clicked Add A Device.
    Turned off my 903+ and continued to hold down the power to enable pairing mode.
    Showed up in devices and added it.
    Worked for audio. There are probably additional options for enabling the mic.
    Hope that helps whoever might find this thread.

  • I just started getting the error message below - when I drag a file to TRASH, I get the message "Finder wants to make changes. Type in your password to allow this.  Why ? and how to to stop this request ?

    I just started getting the error message below, when I drag a file to TRASH, I get the message "Finder wants to make changes. Type in your password to allow this."  Why ? and how to to stop this request ?

    There should be nothing native to the OS X which would ask for a password
    or  other information on a restart, unless accompanied by the traditional login
    box with your user name.
    There are adware or marginal products that could be called malware (bad)
    that would impose their presence and some items that could have been
    downloaded by accident or through some corrupted free software site; of
    those some could ask for and gain permission to go through your Mac
    and maybe even run in the background to do other nefarious misdeeds.
    You could see if startup in SafeBoot allows you access past that the Completer.
    Since I don't have a pile of helpful article links on how to resolve various issues
    I'd be looking them up one way or another.
    There are some helpful items in the site http://thesafemac.com - see Tech Guides
    listed  (adware, malware, & performance) plus a link to the adwaremedic page.
    Also, Apple support has a helpful page on how to remove adware and other bits:
    •Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support
    Hopefully this helps somewhat.
    Good luck & happy computing!

  • My daughter is a college student. she needs to write and compile c programs on her mac for a class this semester. what is the best place for her to start to get the correct compiler etc. to use ? thanks

    my daughter is a college student. she needs to write and compile c programs on her mac for a class this semester. what is the best place for her to start to get the correct compiler etc. to use ? thanks

    If you know that you will not be asked to design GUI interfaces, and the C programming course will adhere to command line compilation environments, then get the Xcode command-line developer tools, and skip the extra complication of Xcode until you absolutely need it. Apple has kicked GNU C to the curb and is rightly so, using Clang/LLVM compiler technology.
    Sign up for a free Apple Developer account using your Apple ID, and then visit the Mac Dev Center, and towards the bottom of the page, you will see additional downloads. Click on the associated, all down loads link. Know your OS X version beforehand, as the command-line tool releases are tied to general operating system versions, and the most recent Xcode version.  That said, there are currently two March 9, 2015 command-line tools for Xcode 6.2 — one for OS X 10.9 Mavericks, and the other for OS X Yosemite.

  • Our website was set up 10 years ago with Macromedia Dreamweaver.  Can I download up to date Adobe Dreamweaver and still access and make changes?  I do not have the old software

    Anyone can help answer this?   Thank you,

    Most web site files can be edited using a simple text editor.  It is not clear to me what you are looking for when you ask if you can download up to date Adobe Dreamweaver and still access and make changes.   You certainly can, but you need to purchase the software to do so if you mean you want the latest versions.
    The most current version is available thru a subscription basis.
    Creative Cloud Plans
    https://creative.adobe.com/#plans
    You can always download a trial version which you can try for thirty days.  Trial versions are fully functional.

  • I have an iphone and ipad but no other computer at home.  I used to have itunes on my work computer. How to I access and make changes to my itunes without another computer?  thanks

    I have an iphone and ipad but no other computer at home.  I used to have itunes on my work computer. How to I access and make changes to my itunes without another computer?  thanks

    At this point you have the option of keeping a device optimized version (lower resolution version) of your photo on your phone while iCloud stores a full resolution version.  Or keeping the full resolution version on both your phone and the iCloud. If you delete the photo on your phone it will be deleted on the iCloud. I know, bummer. Also it should be noted that the photos app and the library are still in beta and to this point i see why.  I would use dropbox or a smiliar app for off device storage.
    So far this is how it has been working/not working for me.  Whether or not I choose to keep originals or optimized on my phone it will only keep the originals and it has only been uploading lower resolution versions of my photos to the iCloud library.  Seems to be working in reverse.
    Again these are still in beta so i am hopeful that this will be fixed in the near future.
    I hope this helps.

  • My partner deleted my itunes (10) library. I use a WD external back-up and retrieved my itunes library, but when i try to play a song i get the message 'could not be used because the original file could not be found Would you like to locate it?'

    My partner deleted, by accident my itunes library. I have an iMac 10.6.7, Itunes 10. I use an WD passport as an external back up and retrieved my itunes library but now get the message "could not be used because the original file could not be found. Would you like to locate it?" so itunes is not recognised the exclamation marked songs, how do i get the retrieved files recognised. At times I get fed-up with Apple blocking files being used, although I like the product its restrictions are so silly!

    You not only have to retrieve the library file from the backup drive but the actual music files (usually stored within the "iTunes Media" folder) as well.

  • I have moved from a G5 Powermac to an Intel Mac Pro and am porting over Items from a Backup HDD. How can I access and use drawings and documents created on the PC computer on the Intel computer ?

    I have moved from a G5 Powermac to an Intel Mac Pro and selectively porting over items from a backup hard drive.
    How can I access and use documents and drawings created on the PC based computer ?

    Clarisworks, you need Appleworks, which will only work with Mac OS X10.6.8 or earlier.  See this tip if you must go newer.  Mac Pros with newer hardware configuration than July 20, 2011 can't use Mac OS X 10.6.8 or earlier without this tip and then it would be Mac OS X Server.  I'm not sure if the new black Mac Pro supports that configuration or not.
    iPhoto, there is an iPhoto for all versions of Mac OS X.
    iTunes, there is an iTunes for all versions of Mac OS X.  Note with iTunes versions 11 and later, which are needed for syncing with iOS 7 or or later, you will lose coverflow, if you liked that feature.  Sadly you can't run an older version of iTunes from within Mac OS X 10.9 or later.
    Sketchup: http://help.sketchup.com/en/article/60107 shows the versions that will work with intermediate Mac OS X versions, and this shows the latest version: http://help.sketchup.com/en/article/36208 be sure to click on the operating system you choose to use.
    GIF - Viewing GIFs Apple's Preview can do that.  Editing them, I like http://www.lemkesoft.com/ Graphicconverter.
    DMG is able to be opened by all versions of Mac OS X.  This are just "disk images" which store programs on a virtual disk that will open when double clicked.    Frequently you'll find the installer of the said program inside.  To find out if the program itself is compatible with 10.7 through 10.9, see http://www.roaringapps.com/
    Otherwise see the resources on:
    https://discussions.apple.com/docs/DOC-2455
    If you end up deciding to stick with Snow Leopard.

  • My Adobe Acrobat 9 Standard stopped working after I performed an msconfig. I get the following message: "You cannot use this product at this time. You must repair the problem by uninstalling and reinstalling this product..." I installed this on Jan. 7, 20

    My Adobe Acrobat 9 Standard stopped working after I performed an msconfig. I get the following message: "You cannot use this product at this time. You must repair the problem by uninstalling and reinstalling this product..." I installed this on Jan. 7, 2010 and I have since misplaced the disk.
    How do I fix the problem?

    Hi Ali,
    You can download Acrobat 9 Std. from: https://files.acrobat.com/a/preview/8d640488-4a92-4f7d-b50b-d8eb7f96bff8
    and reinstall the software.
    Regards,
    Rave

Maybe you are looking for

  • Adobe Photoshop Elements 10 Editor Issue

    Have downloaded Adobe Photoshop Elements 10 Editor from the Mac App Store onto my Mac Book Pro, set iPhoto preferences to Adobe Photoshop Elements 10 Editor, but when trying to open a file from my iPhoto library, the following message appears: "unabl

  • HT203433 I have done all of the above and neither my IPod or IPad will auto down load book smaples. The Auto switches just turn off after a few seconds.

    I have tried to follow the steps and everything the HELP steps say to do is completed. Yet the slide "on" switches on both the iPad and iPod will not stay in the on position. They immediately slide to off. I get the error message they must be turned

  • Factory Unlocked iPhone 3G giving "No Signal" woes

    My iPhone 3G is from Italy - factory unlocked. Confirmed by iTunes when doing a restore. Any UK SIM (o2, Vodafone and Orange) I put in the phone shows "No Signal" unless I am right underneath a tower. BUT, if I put my Malaysian SIM in the phone and r

  • Cascade update on tables

    Hi, I know that oracle apps coding standard prohibits cascade delete feature in the database. Hence it should be implemented at application level. However my question is regarding cascade update. Need is to update the header's WHO columns, when an up

  • Quick Help w/ Ram Settings

    Hey I got a question for you. I have a MSI Neo2 Platinum, with an Athlon 64 3500. I have 2x512 DDR500 PC4000 sticks of ram. My question is, I always see people typing their settings in (ie: 3.0-2-2-6) I've tried to read up, but I just dont get it. An