Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applets

 
Lavi Tang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to call a java program from an applet on clicking a button?
 
Sunil Kumar Gupta
Ranch Hand
Posts: 824
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Lavanya Tangirala:
how to call a java program from an applet on clicking a button?


What do you mean by a java program ( A java application ? ). If yes, then you can define the events on your button and accordingly can call the java application.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of Java applicatiopn is this - can you bundle it with your applet, or is it installed on the client machine? If the former, then you can probably just call its main method. If the latter, then it gets more complicated.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic