Checkbox confusion.... very frustrating.

public void actionPerformed (ActionEvent event)
  if (bathroom.isSelected()){
                 System.out.println("WHY DOESNT THIS PRINT??!?!");
}will someone just tell me all the things i need to make this work? maybe i am missing an element.
thanks.

Save everybody time by actually reading the Swing tutorial before you post basic questions like this.
http://java.sun.com/docs/books/tutorial/uiswing/TOC.html
The tutorial has sections on "How to Write an Action Listener" or How to Use Buttons". Basic questions like this are covered in the tutorial with example code (that you can download and execute) and explanations about the code.
Also learn how to ask a valid question when to do have a problem that isn't covered in the tutorial. Here is some advice from JavaRanch on how to ask questions:
http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
And here is a link explaining what a SSCCE is:
http://homepage1.nifty.com/algafield/sscce.html,

Similar Messages

  • Scope of variales? confusing and very frustrating problem....please help?

    Below is my entire program (a simple pl/sql stored procedure) and for some reason the variable newpay is not appearing in SQL*Plus. Have have turned serveroutput on and have checked that the variable otpay contains values, it's just newpay doesn't seemed to want to print to screen. Is this something to do with varaible scope within cursor loops or something? Thanks a lot for your help.
    CREATE OR REPLACE PROCEDURE lab5d (pp_fname varchar2, pp_lname varchar2, pp_month varchar2) AS
              TYPE ot_rec_type is RECORD
                   fname          emptrig.fname%type,
                   lname          emptrig.lname%type,
         otime_rate     emptrig.otime_rate%type,
                   hours          overtime_sessions.hours%type,
                   o_date          overtime_sessions.o_date%type
              TYPE cur_type is REF CURSOR;
         c1          cur_type;
         firstdate     date;
         lastdate     date;
         otpay          number;
         newpay          number;          
         ot_rec          ot_rec_type;
    BEGIN
         firstdate := TO_DATE('01' || pp_month || '2002', 'DD-MON-YYYY');
         lastdate := LAST_DAY(firstdate);
         open c1 for     SELECT fname, lname, otime_rate, hours, o_date
                   FROM     emptrig, overtime_sessions
                   WHERE     etrigot_id = emptrig_id AND
                        fname = pp_fname AND
                        lname = pp_lname AND
                        o_date >= firstdate AND o_date <= lastdate;
         LOOP
              fetch c1 into ot_rec;
              exit when c1%notfound;
              otpay := ot_rec.hours * ot_rec.otime_rate;
              newpay := otpay + newpay;
         END LOOP;
              dbms_output.put_line(newpay); -- this line does not print but otpay contains values
    END;

    Michael,
    You already asked this question Re: Oracle EM 10g - Running an OS Command and you were given a (in my opinion) correct answer. If you don't agree with the answer, or if you have tested it and it did not work, then post a reply to that message.
    It is very frustrating for people who put in their time and effort to answer questions, to see the same question just being asked again by the same person, without receiving any feedback from the poster why his / her answer was neglected.
    Maybe I am reacting to strong, but then again it still early in the morning and I haven't had my coffee yet.
    regards,
    Freek D

  • Very frustrated with Mail, please help

    Hi All,
    First of all, I want to tell you that I just moved from a PC to Mac, but I am very computer savvy so I had no problems moving my emails, addresses and all that to Mail, as well as performing any other tasks on the Mac. However, I have one VERY weird problem. Please bare with me as I explain....
    I have 3 (three) email accounts setup in Mail. The two of them work fine. The third one has problems receiving emails, it does NOT receive emails at all.
    When I try to setup this account, I get an error that the mail server is not accessible. I thought that the mail server was offline but I still tried to access the mail server through the web access. I COULD access it. Then I tried to receive mail in Mac Mail and I got NO error messages, but I did NOT receive any of my test email messages that I sent myself on that email. I was trying to figure out what the problem was, but with no success. Then I thought I will try accessing the emails through Entourage. I was shocked when Entourage DID recieve the emails from that mail server and that email account. Well, by now I was VERY confused and frustrated. Entourage CAN access the email account, but Mail can NOT access it!??! I am using exaclty the same settings for both and still the result is the same.
    I didn't know what else to do, so I called the Apple tech support. They were also confused with the issue. They escalated the issues to the engineers and they told me that the server is an Exchange server and that I should access it as such not on POP. Well , no luck again.
    So, to sum it up, I can receive email from this mail account from EVERYWHERE except from Mac Mail. I can also access it from Entourage on this same computer, from the web, from a PC laptop I have, but not from Mac Mail.
    PLEASE HELP!!! I don't know what to do any more. I hate to use Entourage because I just moved from a PC to a MAC and I don't want to be using the same Microsoft crap (which unfortunatelly is working properly). Any advice and suggestions are more then welcome.
    BTW, I did try all of things that I read in different posts on this forum on similar issues (deleting the "mail" folder in library, etc), but none worked. I also tried uninstalling Mail and installing it again, again no luck.
    HELP!
    Thanks!
    Alex

    I have no direct experience with Exchange servers, so take this with a grain of salt, but my understanding is that for Mail to be able to communicate with one, it must be configured to allow IMAP access at the server. See the Mail help topic "Setting up your email accounts," which says in part:
    "An Exchange account allows you to connect to your Exchange server via IMAP, and if you enter text in the Outlook Web Access Server field, Mail filters non-email related content from the server. (You can get the text you need to enter from your mail account provider.) For Exchange to work with Mail, Exchange administrators need to configure the Exchange server for IMAP access. Some system administrators may refer to an Outlook Web Access Server as an Internet Information Services (IIS) server."
    IOW, if you can't convince the administrators that not everyone in the world uses proprietary Microsoft application "standards" (which of course exist for the good of the world & not just for MS), there isn't much you can do except use the crappy apps that Microsoft owns, along with the standards they enforce ... for the good of the world, of course. :-/

  • Very Frustrated with iMessage

    My iMessages from my iPhone 4 keep showing up on my new iPad (4? The newest one with retina display).
    The only address  I have checked for "Send and Receive" on my phone, is my phone number. And the only one checked on my iPad, is my Apple ID email. Therefore, if I send an iMessage from my phone (using my phone number), it shouldn't show up on my iPad, correct? But it does.
    I've disabled the facetime to my phone number and email address, to my iPad and iPhone respectively, but it still syncs.
    I've even gone so far as to delete my iCloud account on my iPad, to prevent it from wirelessly syncing through the cloud, but it still shows up.
    I don't want everyone in my home who uses the tablet to be able to see private text conversations.
    It seems with Apple, that you either sync everything, or nothing. There doesn't seem to be an in between, and I'm getting very frustrated.
    Does anyone have any other suggestions? I've looked through other discussions and tried everything I've found, which is the things I listed above, but nothing is working.
    To confuse even more, it's not doing this with every text message recipient. An iMessage to one person shows up on the iPad, but an iMessage to another person doesn't. The only difference being that any person I've ever sent a message to from the iPad, everything I send that person from my phone shows up. But if I've never messaged that person from my iPad, it won't show.
    I don't understand what's happening, or what I can do to fix it.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Adobe Cloud membership - I am stuck in the loop of Licensing VERY Frustrating!!!

    I have an Adobe Cloud membership - I am stuck in the loop of Licensing as well VERY Frustrating - I have a project due and have been troubleshooting for days -
    Un Installing - Re installing - NIGHTMARE  - Please someone help me!!! Thanks in advance -

    What happens when you enter your Adobe ID tied to your subscription?

  • Hoping for some help with a very frustrating issue!   I have been syncing my iPhone 5s and Outlook 2007 calendar and contacts with iCloud on my PC running Vista. All was well until the events I entered on the phone were showing up in Outlook, but not

    Hoping for some help with a very frustrating issue!
    I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud  2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel.  I even uninstalled iCloud on the PC and downloaded it again (same version). 
    The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.”  After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
    Sound familiar?  Any ideas on how to solve this iCloud/Outlook issue?  Thanks much in advance!

    Hoping for some help with a very frustrating issue!
    I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud  2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel.  I even uninstalled iCloud on the PC and downloaded it again (same version). 
    The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.”  After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
    Sound familiar?  Any ideas on how to solve this iCloud/Outlook issue?  Thanks much in advance!

  • Photoshop CC program error when opening or placing files. VERY FRUSTRATING PLEASE HELP.

    I'm an advertising graduate student that relies heavily on Adobe programs for my multiple simultaneous projects throughout the school year, specifically Photoshop, Illustrator, InDesign, Muse, Edge Animate and Premiere Pro.
    I'm using a MacBook Pro running OS X Yosemite.
    I have been experiencing an incredibly frustrating issue with Photoshop and Muse, both CC 2014. I'll speak about Photoshop in this thread since, well, this is a Photoshop forum. This has been happening for almost a year now. I figured Adobe would've fixed this problem by now, especially given the myriad of crash reports I send.
    While working in Photoshop, sometimes when I go to place a file I get an error message that says "Could not complete your request because of a program error." It used to be that this error was fatal and I would have no other choice but to force quit out of Photoshop and restart it. We all know how incredibly time-consuming it is for Photoshop to open (especially 10-15 times in one sitting), and being in grad school, time is not something I have a lot of when I have deadlines and projects due.
    This error is still happening and for the same reasons; however, now I can still continue to work on my file, as long as I don't need to open a document or place an image...which doesn't help very much because I'm doing a lot of mockups and composites and need those functionalities. It happens probably 90% of the time when I try to place or open a document.
    For the record, it's a similar issue that's causing Muse to crash as well. When I try to add an image file, it causes the entire program to crash "unexpectedly," as Muse so eloquently puts it.
    Until recently I had kept CS6 on my hard drive and would dig it out to use in place of CC when PSCC would crash; however, someone told me that having both versions was likely the cause for the crashes. After much hesitation, I finally uninstalled all of CS6 from my hard drive the other day (the right way, not into the trash can, since someone is inevitably going to ask that question) and I'm still having this problem, and now I don't have my CS6 version to fall back on and now I'm in a really bad spot.
    I apologize for all the rambling, but I'm really very, very frustrated with this error, and I had to do something while waiting for Photoshop to restart. Someone please help.

    MacOS 10.10? Yeah, Apple is working on that bug.  They already fixed the crash in the open/save dialogs, but have a few more problems to address with the open/save dialogs.

  • Hi, have a iphone/macbook itunes prob. i connected my phone to mac to add songs, and it wiped 99% of music from my phone. on the mac it still lists the songs on my phone but they are greyed out. can anyone help? very frustrated and want my music back.

    hi, have a iphone/macbook itunes prob. i connected my phone to mac to add songs, and it wiped 99% of music from my phone. on the mac it still lists the songs on my phone but they are greyed out. can anyone help? very frustrated and want my music back.

    I am having the same problem. I have just tried this. Unplug iphone > open itunes > delete all music from itunes library > close itunes > re-open itunes > add music from original folder > plug in iphone > select songs > press sync > unplug iphone using eject button onscreen > checked phone .... still nothing in music folder on phone. On itunes the "On this iphone" tab the songs remain there but greyed out.

  • I have been trying to log onto the Wounded Warriors Program Portal.  I can Log in and then when I click on the rewards it tried to go to the page the just takes me back to the same page I was on.  This is very frustrating.

    I have been trying to log onto the Wounded Warriors Program Portal.  I can Log in and then when I click on the rewards it tried to go to the page the just takes me back to the same page I was on.  This is very frustrating.  I am new to the Mac World so please bare with me.  Please tell me there is help somewhere for this issue.  It seems it is blocked or not letting me through.  Can anyone please help me out.  Thanks 

    Both Mail and Safari have Activity Options that open a  screen that shows you just how the site or mail is loading.
    In Safari if you are having trouble with a site in activity you will see the count of items being downloaded - and if an error occurs it shows red.
    On the top is the number of items it is loading or trying to load and the count should be increasing.   If the count stops, and you don't have errors it may be that too many people are going after the same site and your request just timed out. Have had the time out on a news site when trying to load a most popular article.

  • When i search for a website it takes me to another website.  I will click on the link and it takes me to one ive never wanted?  please help very frustrating!  I am not very computer savy, is it my settings or something?  Jen

    When I search for a website it itakes me to another website.  I will click on a link and it takes me to something completely different or yellow pages etc. Please help I am very frustrated and not very computer savy!  Thanks!  Jen

    Hi Jeff I have uninstalled Muse from my applications and have tried to download the new version but it displays a message 'file not found'. I have included a screenshot.

  • TS3789 I have similar problem, my apple tv which has always worked properly with my Samsung tv will no longer play any audio after the latest 5.1 upgrade. Very frustrating as it was working perfectly before. I am starting to not trust apple upgrades until

    I have similar problem, my apple tv which has always worked properly with my Samsung tv will no longer play any audio after the latest 5.1 upgrade. Very frustrating as it was working perfectly before. I am starting to not trust apple upgrades until proven for example ios6 on iPhone with that stupid map app instead of google maps.
    I just want to buy and hear my iTunes music and videos on my apple tv, could before cant now. Thank you apple. Time to pack up the apple tv and start torrenting without the ios-bs.
    Disheartened apple fan.

    Welcome to the  discussion forums.
    Try going to synching in the sources menu on your tv and selecting 'change itunes library', when it gives you the passcode check itunes to see if the tv is showing up as a new device, if so try entering the pass code. It may be that your tv is seeing itunes as a different library because of a recent upgrade.

  • My itunes is on an old computer.  So old that I can't update it and so Haven't used it in two years.  How can I move it to my new laptop and make sure this doesn't happen again?  Very frustrated that I've spend $$ but can't get my music.

    My itunes is on an old computer.  So old that I can't update it and so Haven't used it in two years.  How can I move it to my new laptop and make sure this doesn't happen again?  Very frustrated that I've spend $$ but can't get my music.
    I want so set up itunes on my laptop and make sure that I get all of my old music and any music shared from my sons' itunes accounts.  Do I have to set up itunes on my new laptop first and then use the same logins?  Really concerned about losing any music, etc.

    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    Note if you have failed to move contacts and calendar items across you should create one dummy entry of each in your new profile and iTunes should  merge the existing data from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
    tt2

  • I've just upgraded to latest version of Firefox 4 and my Mac is only OSX.10.4.11 and it won't open. How do I downgrade and get old Firefox back. Don't want to lose all my bookmarks. Why was I able to install in the first place. Very frustrated!!

    've just upgraded to latest version of Firefox 4 and my Mac is only OSX.10.4.11 and now it won't open. How do I downgrade and get old Firefox back. Don't want to lose all my bookmarks. Why was I able to install in the first place. Very frustrated!!

    You can get the latest version of Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html
    You can trash Firefox 4.0 then re-install Firefox 3.6, it will use your existing bookmarks, passwords etc
    Mozilla are working to prevent Mac users with non-compatible systems from getting the notification about Firefox 4, and also not displaying the "Download Firefox 4" button on http://www.mozilla.com

  • I downloaded the adobe XI software and it shows in my Adobe download assistant as downloaded but I can not open it and it is not a part of my applications. Very frustrating download process as I just want to convert a PDF file to an editable word document

    I downloaded the adobe XI software and it shows in my Adobe download assistant as downloaded but I can not open it and it is not a part of my applications. Very frustrating download process as I just want to convert a PDF file to an editable word document...

    Odonnells52 you will still need to install Adobe Acrobat Professional prior to being able to make edits to PDF or utilize Acrobat.   By default the installation files have been saved to your download folder.
    If you continue to face difficulties with the Adobe Download Assistant then please see Troubleshoot Adobe Download Assistant.
    You can also download the installation files directly from Download Acrobat products | Standard, Pro | XI, X if you are unable to locate the downloaded installation files.

  • HT204266 My iphone keeps crashing and turning itself off.....even though battery life is fine...as soon as i plug charger in it comes bcak on....help very frustrating...3g

    My iphone keeps crashing and turning itself off.....even though battery life is fine...as soon as i plug charger in it comes bcak on....help very frustrating...3g

    absolutely that is frustrating. if the battery life is fine there could be two things software or hardware. to find out if your back up your information in itunes and import pictures and then restore the phone as NEW then you can test it out. if it is still shutting off it is hardware related

  • Why can't we use iTunes gift cards with family sharing? After Christmas, we now have lots of account credit we can't use. Very frustrating.

    Why can't we use iTunes gift cards with family sharing? After Christmas, we now have lots of account credit we can't use. Very frustrating. There is no option found for using account credit.

    I just logged out of my daughter's account and back in, and now it works. Deducted from gift card account balance. So I hope this is resolved.

Maybe you are looking for

  • Being Shocked/Broken USB/Turbon fan and powerbook

    I have a 12" powerbook G4 - 867 mhz operating the most 10.4.2, 40 gigs, and 1.12 GB ram. I bought this from an apple store in April 2003, shortly after they came out. In October, the hard drive became corrupted and Apple replaced it, but I lost all m

  • ITunes 11 does not play my MP4 video

    I have a video which I wish to add to iTunes and then to my iPhone 5. I have many other videos added already and have not experienced any issues before. This time, I am not really sure what is wrong. The video shows up in iTunes and doesn't get delet

  • PC, iTunes, iPod all Freeze when i connect ANY iPod.

    I seem to have a problem connecting ipods to my computer. When i try and connect an ipod to my computer (windows XP) the computer will lock up, cannot move mouse nothing. I have tried this with an iPod Video, iPod Photo and iPod Mini, all do the same

  • EBS 11.5.10.2 Installation Halts

    hi gurus, i am installing ebs 11.5.10.2 on aix 5.3. i run the rapidwiz and got to INSTALL TYPE where i chose SINGLE-NODE(ALL SERVICES ON A SINGLE NODE). But when i click next, it is unable to go to the next screen. the following message is displayed

  • Email is deleted of BT Server.

    Email is deleted of BT Server, when deleting on iPad (IOS 8.1) therefore cannot read on iPhone and Visa Versa. The BT Mail Account is IMAP. When viewing the server on Safari via the BT Web Mail it shows the email has been removed. On the MacBook Pro