aspose file tools*
The moose likes Applets and the fly likes Applets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Applets" Watch "Applets" New topic
Author

Applets

Lavi Tang
Greenhorn

Joined: Jul 15, 2006
Posts: 5
how to call a java program from an applet on clicking a button?


Lavanya.T
Sunil Kumar Gupta
Ranch Hand

Joined: Aug 26, 2005
Posts: 824
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.


Lack of will power has caused more failure than lack of intelligence or ability.
My Blog | Red5 Resources | Technology Update | Daily Technology Tips
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41530
    
  53
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.


Ping & DNS - my free Android networking tools app
 
jQuery in Action, 2nd edition
 
subject: Applets