|
-
Dec 30th, 2001, 01:32 PM
#1
Thread Starter
Fanatic Member
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"
-
Dec 30th, 2001, 03:01 PM
#2
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
-
Dec 30th, 2001, 03:26 PM
#3
Thread Starter
Fanatic Member
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"
-
Dec 31st, 2001, 08:27 AM
#4
Addicted Member
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!
-
Dec 31st, 2001, 01:41 PM
#5
Addicted Member
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
-
Dec 31st, 2001, 06:11 PM
#6
Thread Starter
Fanatic Member
oh OK... I will download it! THANKS
"The difference between mad and genius is the success"
-
Jan 3rd, 2002, 08:37 AM
#7
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|