Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

General Applet Question

 
Craig Snowbarger
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Do applets have to be located on a server to be viewed from a browser rather than the appletviewer? I'm wanting to view my applet from my browser. The class file and html file are located in my local Java bin. Thanks for any help.
Regards,
Craig Snowbarger
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using windows? Just go to the directory your html file is in, open a browser window, and drag your html file into it... it should open the web page with your applet in it. You can also go under one of the open options under the file menu of your browser, and it should let you browse for files on your hard drive.
HTH,
-Nate
 
Craig Snowbarger
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I discovered the problem. I'm using swing components that IE 5.5 won't support. Oh, well.
 
Greg Harris
Ranch Hand
Posts: 1012
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am not familiar with the swing component compatibility with IE 5.x, but i do know that you have to add some html code to be able to view applets using Java 2 features in some older browsers...
 
Greg Harris
Ranch Hand
Posts: 1012
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is the sun site for the plug-in... i don't know if this is what you need, but maybe it will get you in the right direction.
java.sun.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic