The Artima Developer Community
Sponsored Link

Java Answers Forum
html and applets

2 replies on 1 page. Most recent reply: Apr 6, 2002 1:16 PM by Julie

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Julie

Posts: 13
Nickname: champ
Registered: Mar, 2002

html and applets Posted: Apr 4, 2002 12:24 PM
Reply to this message Reply
Advertisement
What needs to be included in the applet tag(html) to be able to run the applet on a browser. I am not sure if my browser does not support the applet or if I am doing something wrong?
p.s. thanks for all the help you have given me...I am a beginner and am asking basic questions and I have been recieving great support - thanks!


Lynn Hollerman

Posts: 67
Nickname: gmholler
Registered: Mar, 2002

Re: html and applets Posted: Apr 4, 2002 12:41 PM
Reply to this message Reply
Basically, try <APPLET CODE="XXX.class" WIDTH=YYY HEIGHT=ZZZ></APPLET>

Where "XXX" is the name of the class file, "YYY" is the display width of your applet, and "ZZZ" is the display height of your applet.

HOWEVER...

If you need to run the applet in IE or Netscape 4.x, you'll have to install the Java plug-in into the browser and convert the HTML file so the browser will invoke the plug-in. You can download the converted from http://java.sun.com/products/pluging/1.3/converter.html

Julie

Posts: 13
Nickname: champ
Registered: Mar, 2002

Re: html and applets Posted: Apr 6, 2002 1:16 PM
Reply to this message Reply
what does it mean when everything is compiled...javac, html - and when you open html in the browser only a gray box appears and when you put the mouse over it down in the left corner it says "class xxxx not found"? Any clue as to what I might be doing wrong? I just downloaded IE 6 but it doesn't seem to have helped.
All help is much appreciated.

Flat View: This topic has 2 replies on 1 page
Topic: JPopMenu does not come up Previous Topic   Next Topic Topic: toolbars & scrolling

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use