Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android forum!
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: 41123
    
  45
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Applets
 
Similar Threads
Java program protection.
Applet with a ServerSocket
WA #1.....word association
Clock
Clock