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

    Default launching a java applet


    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:
      width="200" height="200">
      <PARAM name="code" value="Applet1.class">
    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

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power

    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 02:36 AM.

Similar Threads

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