DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Convert applet coding to CSS

  1. #1
    Join Date
    Sep 2005

    Convert applet coding to CSS

    I have an applet that I'm trying to convert the coding to in order to reach html 4.01 strict, or at the very least 4.01 Transitional. I know nothing about java and found only two examples of coding conversion which haven't helped. Thinking that the class file was text, I thought I would try opening it to see if there was something intuitive I could change, but instead when I opened it up it gave me nothing but a series of black boxes.

    Can someone help me change the coding or do you think the entire applet will have to be rewritten. I'm putting the applet html in this block wih spaces between the wickets to keep the coding on the board:

    < OBJECT code="alcsnow.class" width="275" height="206" style="float: right; margin-left: 0.5em;" >
    < param name="grph" value="holmanor.jpg" >
    < param name="snows" value="700" >
    < param name="threadsleep" value="50" >
    < /OBJECT>

    As you can see I've already changed "APPLET" to read "OBJECT". I know there is also supposed to be some very long classID string, but I don't know what that is.

    If someone can help I would certainly appreciate it. Thank you,


  2. #2
    Join Date
    Jul 2005
    SW MO, USA
    This sounds more like an HTML question than a Java programming question.

    Sun used to provide a program to convert HTML to use <OBJECT tags for applets. I think it was called: HTMLConverter. You might try finding that.

    BTW applet classes are compiled code sort of like dlls. They are "executed" by a special piece of code (a plugin) that the browser loads to do the "exection".

Similar Threads

  1. JavaMail applet problem
    By Tataroz T. in forum Java
    Replies: 1
    Last Post: 10-20-2005, 06:19 AM
  2. Replies: 3
    Last Post: 08-23-2001, 11:01 AM
  3. Convert JApplet to Applet...
    By Chris L. in forum Java
    Replies: 1
    Last Post: 05-10-2000, 05:43 PM
  4. Applet and thread problems
    By Aneesha in forum Java
    Replies: 0
    Last Post: 05-06-2000, 10:36 PM
  5. Replies: 0
    Last Post: 03-28-2000, 02:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center