Will actionListener work in 1.4?

I have the following code written in 1.2.2. It works fine. But when I tried this in 1.4.1, it is not working. This is where the user enter the userid and password and push the "Login" button.
class SISHandler implements ActionListener
public void actionPerformed(ActionEvent e)
if (e.getSource() == JButtonLogin)
String userId=JTextFieldUserName.getText();
String pword=password.getText();
JTextFieldUserName.setText("");
password.setText("");
LoginHandler lh=new LoginHandler();
boolean re=lh.validateUser(userId,pword);
if(re)
          BottomPanel.setVisible(true);
          LoginPanel.setVisible(false);
else
          JOptionPane.showMessageDialog(null, "Please Input correct User Name " + "and Password to login.", "Login error", JOptionPane.ERROR_MESSAGE);
Do anyone know if I have to make any changes to my code to make it work in 1.4.1. Please let me know.
Thanks
James

maybe showMessageDialog won't accept null as an argument?

Similar Messages

  • ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW

    ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW

    BLANK Cloud Screen http://forums.adobe.com/message/5484303 may help
    -and step by step http://forums.adobe.com/thread/1440508?tstart=0
    -and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html

  • Apple DVI to Video Adapter on PC???? WILL IT WORK?

    Will the Apple DVI to Video Adapter work on PC's as well as Apple? I own a mac but the computer I need to convert on is an older PC with a DVI port on back. Will it work? It's just an adaptor right? It cn't be built to ONLY work on mac...theres no software in that little thing.
    HELP!!! before I buy

    No, it won't work with a PC. It requires the video card support the adapter, and since it was made for Apple cards, chances are the PC one won't. You might be lucky, but I doubt it.

  • YouTube will not work on safari for me on the ipad. Is there anyway to fix this? I can go anywhere else on the internet fine and it works on google chrome, but on safari it shows a blank screen with the bar on top after it loads.

    YouTube will not work on safari for me on the ipad. Is there anyway to fix this? I can go anywhere else on the internet fine and it works on google chrome, but on safari it shows a blank screen with the bar on top after it loads, if it's even loading at all.
    I do not know if it's relevant or not, but I got a message on my ipad while on safari saying that my iPhone has a virus. I looked it up and it seems it might have just been an ad from the website I was on, but it happened around the same time YouTube stopped working.

    You will find that using the YouTube app will provide a better viewing experience for YouTube videos.

  • Flash will not let me downgrade to version 10 because it says it is not the most up to date, but the 11 will not work on my computer

    I had Adobe FLASH 11 but it did not play any videos, so I was prompted to download the version before it (10.) but it will not let me download it since it is not the latest/most current version of the program. How do I get a version that will actually work?

    You can check for problems caused by recent Flash updates and try these:
    *disable a possible RealPlayer Browser Record Plugin extension for Firefox and update the RealPlayer if installed
    *disable protected mode in Flash 11.3 and later
    *disable hardware acceleration in the Flash plugin
    *http://kb.mozillazine.org/Flash#Troubleshooting
    *http://helpx.adobe.com/flash-player/kb/flash-player-113-crash-mozilla.html

  • TA44551 My 1-year ipod nano locked up and would not start overnight. The on/off button will not work and stopped holding charge. No water damage, no fall, nothing unusual. I restored it (twice) but it will still not hold charge and on/off does not work.

    My 1-year ipod nano locked up and would not start overnight. The on/off button will not work and stopped holding charge. No water damage, no fall, nothing unusual. I restored it (twice) but it will still not hold charge and on/off does not work. I tried to restore it again and charged it in three different locations with different cables. etc but nothing. Suggestions?

    - After charging for 1/2 hour or so, does iTunes see the iPod?  If yes, restore the iPod from backup.
    - If no, se if placing the iPod in recovery mode will make it visible so you can restore the iPod.  For recovery mode see:
    iPhone and iPod touch: Unable to update or restore

  • I was using Lightroom v5.6 when a notice came up to update to v5.7.  I did the down load but must have gotten a bad down load because it will not install.   And the old 5.6 on my desktop will not work.   So no 5.6 or 5.7 . any ideas  how to get something

    I was using Lightroom v5.6 when a notice came up to update to v5.7. So I did the download but it would not work or install.  And the 5.6 version will not work now either.   So I am screwed - no 5.6 or 5.7 and no access to Adobe Tech.   Any help will be appreciated.

    My iPod is a click wheel...I think that's fifth generation?
    I've always used my firewire cable to update my iPod. I've tried using USB in the past but for some reason it always says that my iPod has low battery and won't let me update it, so I just use firewire. Can I not use firewire with itunes 7?
    I'll try using the USB again. It's laying around here somewhere. Just gotta find it.

  • My phone will randomly disconnect from the wifi and when I retype the password it says it is wrong. It will eventually work but I have to wait for a message to pop up on my screen to allow me to retype the wifi password.

    When I first got my phone it worked perfectly fine with the wifi. Although later on I began to have problems connecting it. It will randomly disconnect from the wifi and when I try to retype the password it tells me it is wrong, although it is right. It will eventually work but in its own time, a message will pop up and allow me to type in the password and it will work. But sometimes it takes an hour or more and sometime it takes 10 minutes. I've seen where other people have had this problem but I don't know how to fix it. I'm not sure if it's an issue with my phone or if it's with my wifi. Does anyone know how to fix this?

    Does this happen with all Wi-Fi hotspots?  A specific one?
    Have you tried forgetting the Wi-Fi connection and then reconnecting to it?
    What about power cycling the Wi-Fi router?

  • How do I perform a "Suite Product Activation" so that Acrobat will start working on my new Retina MacBook Pro?

    How do I perform a "Suite Product Activation" so that Acrobat will start working on my new Retina MacBook Pro?
    Like others, I have recently upgraded my MacBook Pro to the next generation and migrated all my information from old to new. Everything works seamlessly EXCEPT Acrobat. Photoshop, Indesign, Bridge and Lightroom all seem functional. Acrobat hangs with an error message "Suite Product Activation Needed. Acrobat was installed as part of a suite. To enable Acrobat, please start another element of the suite (such as Photoshop)." Needless to say, starting another element of the suite has NO impact on Acrobat.
    This has to be a common problem. Now that Apple has made it really easy to migrate information from old to new machines, it has to come up all the time. What surprises me greatly is that I can't find any coherent answer in these forums.
    So how do I get Acrobat running again?

    Hi Anubha,
    I do not understand what you said below.
    I am running Adobe Acrobat Pro Version 9.5.5. I do not remember whether it came with Photoshop or InDesign.
    When I open Photoshop, it opens without my having to follow any instructions to activate the software. As a matter of fact, I cannot find my Photoshop serial number anywhere in the Photoshop program itself. I do know it from my profile at Adobe.com. Are you suggesting I deactivate Photoshop on the new computer and then reactivate it using my serial number? Will it reactivate?
    When you say
    "/Library/Application Support/Adobe" at the root level of the startup disk (not the Library folder inside a user's Home folder)
    what do you mean? I do not have a startup disk. I have the original installation disk but that version of Photoshop has been updated a few times.
    After staring at your instructions for a while, I realized that you might be talking about the Library/Application Support folders resident on my Macintosh HD, although why you called it a startup disk is unclear to me. IAC, I went into those folders and duly moved the three folders into a new folder I called “Acrob1” and restarted Adobe Acrobat 9 and got the following error message: “AMT Subsystem Failure  The licensing subsystem has failed catastrophically. You must reinstall of call customer support.” with a small (6).
    By undoing my actions I am back to the staus quo ante.
    Now what?
    Regards, Robert

  • Flash player will not work on my computer, would love advice

    I have windows vista.  When I visit a web page that requires flash, it instructs me to download it (even though I'm sure I have it ialready...).  I do so, it says it has downloaded successfully but I still cannot view the website.  I have uninstalled my current version of flash and reinstalled the latest version numerous times.  It even shows up in my list of programs.  But each time I visit a site that uses it, it tells me I need flash to view it.  Very frustrating.  And suggestions would be appreciated.  Thanks!

    This was very helpful - thank you.  I unchecked "active x filtering" and it seems to be working, under tools in IE.  a simple solution, that may have taken me days to figure out myself!  Hopefully it continues to work from thiis point forward.  Thanks!
    Date: Tue, 16 Apr 2013 12:42:26 -0700
    From: [email protected]
    To: [email protected]
    Subject: Flash player will not work on my computer, would love advice
        Re: Flash player will not work on my computer, would love advice
        created by Chris Campbell in Installing Flash Player - View the full discussion
    Do you see an animation and version number when you visit the Flash Player Version page? If you are using Internet Explorer, please verify that the following two FAQs check out. Enabling Flash Player in Internet Explorer ActiveX Filtering in Internet Explorer
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5240948#5240948
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5240948#5240948
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5240948#5240948. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Installing Flash Player by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Audio output will not work on external speakers.  Internal speakers will work.  What do i do to replace audio output slot

    audio output will not work on external speakers.  Internal speakers will work.  What do i do to replace audio output slot

    Right click your volume icon in the notification area and select "volume control options". From there, you should be able to select the external speakers.
    I hope that helps!
    Best of luck,
    Kyle
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • My work computer runs Outlook 2003, which I know will not work with the iCloud, so I hard sync.  But then the new info on my iPhone does not backup to iCloud.  Is there a solution?

    I have a Macbook and iPhone and like to back up to iCloud.  However, my work computer runs Outlook 2003, which I know will not work with the iCloud.  The company has no plans to update anytime soon.  Since the calendar and contact list on my office computer are my primay ones, I hard sync through iTunes.  The problem is that any data synced from Outlook 2003 to the iPhone from iTunes does NOT later backup to iCloud.  Is there a solution?

    I have the same problem with Outlook 2003 and Win XP which the multinational organisation I work for standardises on and will probably stay with forever!

  • Why cant I add contacts on the iphone4? the mail contacts calendars button unders settings, the contacts button, the add a contacts button under message and the phone button will not work to add a contact.

    Why cant I add contacts on the iphone4? the mail contacts calendars button unders settings, the contacts button, the add a contacts button under message and the phone button will not work to add a contact.

    Have you attempted a restore?

  • HT1665 I just purchassed a Lightning adapter for my iPhone 5.  My car came with the normal iphone 4 connector.  I have a protective cover on my phone but now the connector will not work as the lightning connecting tong is not long enough to make contact.

    Lightning adapter will not work with iPhone 5 protective cover

    Your case designer should have done their homework .
    They would have full details of the iPhone and its accessories
    assuming they are a developer status

  • HT204053 When I try to login to my apple ID on my iphone 4 to use facetime, it will not work and tells me to check my connection?  I have even tried creating a new apple ID but the same message appears

    When I try to log onto my Apple ID to use facetime, it will not work and tells me to check my connection.  I have even tried creating a new apple ID but the same message appears.  I do not understand why this is happening, could anyone help me resolve this issue it is very frusterating that I can not enable facetime or imessage.

    I could do that, however when I select the icloud button (or whatever the heck it is) I am asked to enter the apple id and password. So if you are suppose to create another one for icloud you'd think it would give you the option at this point which would be logical.

Maybe you are looking for

  • How do I move my music from my iPhone to my new Windows 8 computer

    I need help moving my music from my iPhone to my new Windows 8 computer

  • Connecting 8110 to a computer

    Hi, I my computer does not recognize, communicate to or charge my Pearl 8110.  My current Blackberry (7130c) is recognized and communicates and charges. When plugging in the new Blackberry (8110), it says "One of the USB devices attached has malfunct

  • Pass variables between skillgroups on CTIOS Agent Desktop

    We need pass variables in the next order: 1. The agent receives the call and insert variables in the CTIOS Agent Desktop. 2. The agent transfers the call to another skillgroup DN 3. The call is assigned to another agent. 4. That agent should see the

  • Creating intermedia text index error

    Hello. I tried creating an index using the below command create index mydocs_text_index on mydocs(thefile) indextype is ctxsys.context; However, I received some error message as follows: ERROR at line 1: ORA-29855: error occurred in the execution of

  • SQL Join in PHP

    Dear all I have two tables in my database like the following Table A Code Narr 1 Code1 2 Code2 3 Code3 4 Code4 Table B Code Data 2 Data1 3 Data2 By joining I want to display the matching records. But I want to display all the Codes from Table A. How