Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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
Pie
Posts: 42967
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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic