Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2007
    Posts
    5
    Rep Power
    0

    Default Applet button not working

    Hello everybody.

    i am an IT tech and i am having a problem with a java applet that works in conjunction with a web based program we have. i am not a programmer and i sincerely apologise if this is in the incorrect section.

    now, onto the problem...the applet loads and it requests a login to the server the program connects to. all good but when i click the login button it (the button) just pops right back up again, it doesn't 'click' if you know what i mean. i have this on two machines but have 40 working ones. i have tried re-installing the java to see if that helped but unfortunately it didn't. i don't know if it's relevant but on the first successful login for each user when accessing this site, a certificate is used and accepted for the site/program.

    i am trying to establish if the problem is with java or the pc itself.

    many thanks in advance

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    You mean that when you click it just doing down and pops up, but no any reaction/output. Right?

  3. #3
    Join Date
    Nov 2007
    Posts
    5
    Rep Power
    0

    Default

    that's correct, it just pops straight back up again without doing anything.

    thank you very much for the reply

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Ok, can you put the code related to the button click event. Is it work on any other machine fine?

  5. #5
    Join Date
    Nov 2007
    Posts
    5
    Rep Power
    0

    Default

    after i clikc the button, this is what i get in the console, i hope it makes sense! :-)

    Exception in thread "AWT-EventQueue-2" java.lang.NoClassDefFoundError: uk/co/ipasystems/ui/QuickNotesDialog

    at uk.co.ipasystems.startup.LoginFrame.doLogin(LoginF rame.java:145)

    at uk.co.ipasystems.startup.LoginFrame.access$200(Log inFrame.java:49)

    at uk.co.ipasystems.startup.LoginFrame$2.actionPerfor med(LoginFrame.java:302)

    at javax.swing.AbstractButton.fireActionPerformed(Unk nown Source)

    at javax.swing.AbstractButton$Handler.actionPerformed (Unknown Source)

    at javax.swing.DefaultButtonModel.fireActionPerformed (Unknown Source)

    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

    at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(Unknown Source)

    at java.awt.Component.processMouseEvent(Unknown Source)

    at javax.swing.JComponent.processMouseEvent(Unknown Source)

    at java.awt.Component.processEvent(Unknown Source)

    at java.awt.Container.processEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.LightweightDispatcher.retargetMouseEvent( Unknown Source)

    at java.awt.LightweightDispatcher.processMouseEvent(U nknown Source)

    at java.awt.LightweightDispatcher.dispatchEvent(Unkno wn Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Window.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForHierar chy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Seems to me there is an issue connecting to the server. Better to check the codes again.

  7. #7
    Join Date
    Nov 2007
    Posts
    5
    Rep Power
    0

    Default

    thanks eranga

    there lies the problem though, i'm not a programmer. :-( the server is situated at another site. does it look to you that it (the button) is having issues seeing the server and that's why it's not working? it doesn't know where to login to?

    if that's what it sounds like, i'll chase up the IT at the other site and get them to pull their fingers out.

    cheers

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Actually, where the servers are placed is can't be an issue, unless there don't have a poor connection.

    I assume that, according to the error you have, there should be a connection error. But it is difficult to say that without looking of it.

  9. #9
    Join Date
    Nov 2007
    Posts
    5
    Rep Power
    0

    Default

    you've given me something to go on Eranga so thank you very much.

  10. #10
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Never mind. I tell you what I know, that's it. Any time I'm ready to help.

Similar Threads

  1. java applet button problem .. :( plz help!
    By i4gotmyid in forum Java Applets
    Replies: 1
    Last Post: 04-17-2008, 05:11 PM
  2. java applet button problem .. :( plz help
    By i4gotmyid in forum New To Java
    Replies: 0
    Last Post: 04-05-2008, 10:55 AM
  3. search button java applet awt
    By perplexingtrax in forum New To Java
    Replies: 2
    Last Post: 03-24-2008, 02:49 PM
  4. applet button
    By kazitula in forum Java Applets
    Replies: 2
    Last Post: 11-14-2007, 08:25 AM
  5. Replies: 4
    Last Post: 06-08-2007, 07:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •