wood burning stoves 2.0*
The moose likes Java in General and the fly likes run SWING app from browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "run SWING app from browser" Watch "run SWING app from browser" New topic
Author

run SWING app from browser

Suraj K
Greenhorn

Joined: Jul 02, 2001
Posts: 7
I'm unable to launch a swing application from an applet.
I use the normal SWINGAPP x = new SWINGAPP(); but nothing shows up. I tried converting the whole program to normal GUI, and it started working. Why can't I launch my swing app from the browser?
shalina gokarna
Greenhorn

Joined: Jul 01, 2001
Posts: 10
For your Swing application to work,you'll require to add a plug-in to the Browser.Their are two types of plug-ins for the Internet Explorer and the Netscape Navigator.
Check it out on the following link:-
java.sun.com/products/jfc/tsc/articles/plugin/index.html
and take the code from there and add your .class file to it.
If any doubts,contact me on
shalina@bplnet.com
regards,
shalina
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: run SWING app from browser
 
Similar Threads
is applet still important in java ?
Run JAR file in Applet
Launching firefox and IE from a Java App
how to launch a web browser?
Launch default web browser from swing