Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

run SWING app from browser

 
Suraj K
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic