Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





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.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-07-2007, 12:14 PM
Member
 
Join Date: Nov 2007
Posts: 5
letmeoutofhere is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-14-2007, 08:21 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 2,338
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
You mean that when you click it just doing down and pops up, but no any reaction/output. Right?
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 11-14-2007, 10:20 AM
Member
 
Join Date: Nov 2007
Posts: 5
letmeoutofhere is on a distinguished road
that's correct, it just pops straight back up again without doing anything.

thank you very much for the reply
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 11-14-2007, 10:24 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 2,338
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Ok, can you put the code related to the button click event. Is it work on any other machine fine?
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 11-14-2007, 11:48 AM
Member
 
Join Date: Nov 2007
Posts: 5
letmeoutofhere is on a distinguished road
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)
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 11-14-2007, 12:13 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 2,338
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Seems to me there is an issue connecting to the server. Better to check the codes again.
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 11-14-2007, 12:32 PM
Member
 
Join Date: Nov 2007
Posts: 5
letmeoutofhere is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 11-14-2007, 12:50 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 2,338
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
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.
Bookmark Post in Technorati
Reply With Quote
  #9 (permalink)  
Old 11-14-2007, 01:11 PM
Member
 
Join Date: Nov 2007
Posts: 5
letmeoutofhere is on a distinguished road
you've given me something to go on Eranga so thank you very much.
Bookmark Post in Technorati
Reply With Quote
  #10 (permalink)  
Old 11-14-2007, 01:15 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 2,338
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Never mind. I tell you what I know, that's it. Any time I'm ready to help.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
java applet button problem .. :( plz help! i4gotmyid Java Applets 1 04-17-2008 05:11 PM
java applet button problem .. :( plz help i4gotmyid New To Java 0 04-05-2008 10:55 AM
search button java applet awt perplexingtrax New To Java 2 03-24-2008 02:49 PM
applet button kazitula Java Applets 2 11-14-2007 08:25 AM
Applet, To center text and To open I engage in a dialog in an Applet Marcus Java Applets 4 06-08-2007 07:15 AM


All times are GMT +3. The time now is 07:38 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org