|
|
Welcome to the Java Forums.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:
- have access to post topics
- communicate privately with other members (PM)
- not see advertisements between posts
- have the possibility to earn one of our surprises if you are an active member
- access many other special features that will be introduced later.
Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact us.
|
|

11-07-2007, 12:14 PM
|
|
Member
|
|
Join Date: Nov 2007
Posts: 5
|
|
|
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
|
|

11-14-2007, 08:21 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 2,406
|
|
|
You mean that when you click it just doing down and pops up, but no any reaction/output. Right?
|
|

11-14-2007, 10:20 AM
|
|
Member
|
|
Join Date: Nov 2007
Posts: 5
|
|
|
that's correct, it just pops straight back up again without doing anything.
thank you very much for the reply
|
|

11-14-2007, 10:24 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 2,406
|
|
|
Ok, can you put the code related to the button click event. Is it work on any other machine fine?
|
|

11-14-2007, 11:48 AM
|
|
Member
|
|
Join Date: Nov 2007
Posts: 5
|
|
|
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)
|
|

11-14-2007, 12:13 PM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 2,406
|
|
|
Seems to me there is an issue connecting to the server. Better to check the codes again.
|
|

11-14-2007, 12:32 PM
|
|
Member
|
|
Join Date: Nov 2007
Posts: 5
|
|
|
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
|
|

11-14-2007, 12:50 PM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 2,406
|
|
|
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.
|
|

11-14-2007, 01:11 PM
|
|
Member
|
|
Join Date: Nov 2007
Posts: 5
|
|
|
you've given me something to go on Eranga so thank you very much.
|
|

11-14-2007, 01:15 PM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 2,406
|
|
|
Never mind. I tell you what I know, that's it. Any time I'm ready to help.
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|