This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

applets action listeners not working

 
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.
 
    Bookmark Topic Watch Topic
  • New Topic