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

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applets" Watch "Applets" New topic


Lavi Tang

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

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

Joined: Mar 22, 2005
Posts: 42956
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.
I agree. Here's the link:
subject: Applets