Results 1 to 2 of 2
  1. #1
    natdizzle's Avatar
    natdizzle is offline Nathan Nelson
    Join Date
    Jan 2009
    Posts
    100
    Rep Power
    0

    Default launching a java applet

    Hi,

    I'm trying to make a webpage with a applet on it using the new <OBJECT> tag instead of applet. My program is about 8 classes and the object tag only accepts one class. how do I make all my classes into one class so the html object tab accepts it?

    Java Code:
    <OBJECT 
      classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
      width="200" height="200">
      <PARAM name="code" value="Applet1.class">
    </OBJECT>
    see how the "value="applet1.class" only accepts one class? I have one program that contains 8 classes and I need to condense them into one class so that I can put it in the object tag. does anyone know how to do this?

    thank you
    nathan

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default Re: launching a java applet

    Read the API doc for the OBJECT tag to see if there are ways to give it other sources of resources like jar files and images etc.

    Do the values of the <PARAM tag name= attribute correspond to the <APPLET tag attributes?
    Last edited by Norm; 02-12-2012 at 01:36 AM.

Similar Threads

  1. Java Game Launching Problem
    By PaulMoretti in forum Java Applets
    Replies: 8
    Last Post: 08-18-2011, 08:17 PM
  2. launching applet via jsp
    By rafzio4 in forum New To Java
    Replies: 2
    Last Post: 09-24-2010, 08:35 AM
  3. launching .rm file outside java
    By nonboyx in forum Threads and Synchronization
    Replies: 2
    Last Post: 09-28-2009, 07:40 PM
  4. Problem launching Java applet
    By jacatone in forum Java Applets
    Replies: 3
    Last Post: 01-19-2009, 11:56 PM
  5. Launching Applet from a JSP page
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-31-2008, 12:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •