• 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

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've written an applet, and compiled it. I've created a HTML document with the following code:
< applet code= "TryApplet.class" WIDTH=300 HEIGHT=200>
The files are in the same folder. When I try to run it from the command prompt (Appletviewer TryApplet.html) nothing happens.
Win 2000 Pro
IE6
Thanks
Bob
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is that the only thing you have in your html document? Or do you also have the <HTML></HTML>.
You should also terminate your <APPLET> with </APPLET>, just good practice.
 
Bob Beasley
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Gregg Bolinger:
Is that the only thing you have in your html document? Or do you also have the <HTML></HTML>.
You should also terminate your <APPLET> with </APPLET>, just good practice.


Yes, I have those tags as well.
Thanks
Bob
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the following applet work with the following html file for you?
 
Bob Beasley
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Dirk Schreckmann:
Does the following applet work with the following html file for you?


Yes, It runs fine.
Thanks!
Bob
 
What's wrong? Where are you going? Stop! 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