• 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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: 22267
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...
 
I don't like that guy. The tiny ad agrees with me.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic