The Artima Developer Community
Sponsored Link

Java Answers Forum
re: Graphics2D class cannot found in IE 5.0

2 replies on 1 page. Most recent reply: Apr 22, 2002 9:04 PM by Diane Tang

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Diane Tang

Posts: 6
Nickname: yiju
Registered: Apr, 2002

re: Graphics2D class cannot found in IE 5.0 Posted: Apr 22, 2002 8:50 AM
Reply to this message Reply
Advertisement
When I run applet with Graphics2D in IE 5.0 browser, I
received the following error messages:
java.lang.ClassNotFoundException: java.awt.Graphics2D
com.ms.securityExceptionEx: java.io.IOException

Is anything wrong in my runtime environment or other?
How can I solve the problem in order to use Graphics2D
class in my applet? Thanks!


Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: re: Graphics2D class cannot found in IE 5.0 Posted: Apr 22, 2002 3:51 PM
Reply to this message Reply
I am a bit confused...
The class is first not presentin the Java 1.1 specs, as you can see : http://java.sun.com/products/jdk/1.1/docs/api/Package-java.awt.html
So there is some logic for IE to have some trouble with it !

What bothers me here is :
java.lang.ClassNotFoundException: java.awt.Graphics2D
com.ms.securityExceptionEx: java.io.IOException

so the first line is explained, no for the second line of your Exception is an IO one ... I would think the Browser attempts to read on the file system to find the class :-/

You cannot solve the problem as such with the JDK 1.1 applets. You need to look how you can use the JDK 1.2 with the pluggins :
Look at :
http://java.sun.com
http://forum.java.sun.com/forum.jsp?forum=30&start=195&range=15
...

Rgds,

Thomas,

Diane Tang

Posts: 6
Nickname: yiju
Registered: Apr, 2002

Re: re: Graphics2D class cannot found in IE 5.0 Posted: Apr 22, 2002 9:04 PM
Reply to this message Reply
Thomas,
Thanks for your help. My problem was solved after I
install Java PlugIn.

diane

Flat View: This topic has 2 replies on 1 page
Topic: very little GUI help needed Previous Topic   Next Topic Topic: Arrays vs. Vectors

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use