Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

applet viewer not coming up

 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I first started trying to learn Java, I think it was version 1. I downloaded and installed the SDK and was able to run the appletviewer from my programs menu. I've updated to version 1.3 and appletviewer isn't listed in my programs menu anymore. When I go to start>run> and browse to the jdk\bin folder to find appletviewer and run it, it just opens a dos window for a second and then closes it. Sorry to sound so stupid, but how do I run appletviewer in version 1.3? Thanks.
 
Saloon Keeper
Posts: 22149
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Open a DOS window
2. Type "appletviewer", hit ENTER
If the appletviewer program isn't found, add the JDK\bin directory to your path, a la:
C:> SET PATH\%PATH%;C:\JDK1.3\nin
C:> appletviewer
You should see command-line parameter options displayed in the DOS window.
 
tyler jones
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, here's what I get when I type in appletviewer to a dos window.
Usage: appletviewer <options> url(s)
where <options> include:
-debug Start the applet viewer in the Java debugger
-encoding <encoding> Specify character encoding used by HTML files
-J<runtime flag> Pass argument to the java interpreter
The -J option is non-standard and subject to change without notice.
What do I do from here?
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There may be a quicker way, but this one works...
First make an html file that contains a refernce to your applet with for example <applet code=myApplet.class width=400 height=200></applet> and save this as myApplet.html. Then at the command type appletviewer myApplet.html
Hope this helps...
 
Did you just should on me? You should read this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic