This week's book giveaway is in the Cloud forum.
We're giving away four copies of The Business Blockchain and have William Mougayar on-line!
See this thread for details.
Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applets action listeners not working

 
bharani rao
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

i have a sipphone GUI in applets.
the code is working fine in eclipse.. it is not running fine from tomcat server..

i know that eclipse has nothing to do with the tomcat server....

i was able to load the applet in tomcat server ( the GUI is appearing)..

now the problem is, i have some 10 JButtons in the gui... each one has one actionlistener...

initially only two buttons will be enabled...

one to register the user and other to change the settings....
when i click the register button the user name should be registered in the asterisk server...
but what is happening now is that when i click the register button the entire browser window is closing....

and i'm getting this log created on my desktop


i have all my neccesary files in the tomcat\webapps\samples directory...

what else may be the problem

thanks in advance
 
bharani rao
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

i made it work somehow..
the problem was that, initially when we click on register it has to fetch data from the property file and it was not fetching that so the browser crashed.


thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic