Results 1 to 7 of 7

Thread: Does Internet Explorer Support Java2?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Apr 2001
    Posts
    843

    Does Internet Explorer Support Java2?

    I am asking this... b/c when I do this applet....

    public class newpalindrome extends java.applet.Applet
    {

    public void paint (Graphics screen)
    {
    Graphics2D screen2D=(Graphics2D)screen;
    Line2D.Float ln=new Line2D.Float(60f,5f,13f,28f);
    screen2D.draw(ln);


    }

    }


    and I open it in the explorer.... nothing draws or fill!!
    "The difference between mad and genius is the success"

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    This may be a silly question, but you do have an init, start and stop method in there, too right? Because it won't work w/o those.

    Last edited by crptcblade; Dec 30th, 2001 at 03:09 PM.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Apr 2001
    Posts
    843
    Are you sure? Because this applet work in the JDK Appletviewer.... and also... I have created Applets with just the Paint method.

    So... what do you think?
    "The difference between mad and genius is the success"

  4. #4
    Addicted Member Mrs Kensington's Avatar
    Join Date
    Sep 2001
    Location
    Dorset, UK
    Posts
    144
    the default JRE that comes with IE does not have the Graphics2D Object... I assume they are still on JDK 1.1 you would have to get them to download the latest version of suns site
    Ford? Theres an infinite number of monkeys outside that want to talk to you about a script of hamlet they've produced!

  5. #5
    Addicted Member
    Join Date
    Nov 2001
    Location
    Yewston, Texis
    Posts
    240
    In answer to your original question: no, IE does not support Java 2 out of the box. So if you want to write applets for stock IE you'll need to use JDK 1.1.4 or perhaps JDK 1.1.8. However, Sun does have a plugin that when installed will make IE Java 2 aware.

    There are pros and cons to this: Pro--Java 2 has swing, etc. Con--most people do not have the plugin, though they can freely install it.

    If you decide to get the plugin, you can get it here:
    http://java.sun.com/j2se/1.3/jre/

    cudabean

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Apr 2001
    Posts
    843
    oh OK... I will download it! THANKS
    "The difference between mad and genius is the success"

  7. #7
    Addicted Member goudabuddha's Avatar
    Join Date
    Jun 2001
    Location
    Somewhere cheesy
    Posts
    203
    there is no reason internet explorer shouldnt support it

Posting Permissions

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



Click Here to Expand Forum to Full Width