wood burning stoves 2.0
The moose likes Beginning Java and the fly likes Applet run Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Applet run" Watch "Applet run" New topic

Applet run

Mike Shn
Ranch Hand

Joined: May 26, 2001
Posts: 149
I have three files (Mandelbrot.java, CompleNumber.java, Panel.java)
How can I make the jaz file and run the Applet(Mandelbrot.java). In such way, that from command line I would bring the browser up and see the Applet.
Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi Mike,
The short answer is you can't. That is called an application. Your first problem is that you don't know what browser the user will have and you definitely won't know the path to it from a DOS batch file. The best you can hope for is to include an *.html file for the user to double click on and their system will open their favorite browser and run the applet.
I agree. Here's the link: http://aspose.com/file-tools
subject: Applet run
jQuery in Action, 3rd edition