Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Line2D.Double in Applet

Status
Not open for further replies.

arneweise77

Programmer
Apr 25, 2002
46
SE
Hi!
I´m using a Line2D to get information about the x's, y's in a straightline. Both as an application and an applet.
Because of that Line2D is abstract am using Line2D.Double like:
Line2D.Double line;
line = new Line2D.Double();

And then am using some of it´s functions. Works great so long as am running it as an application, but as an applet am getting an Exception:
java.lang.ClassNotFoundException:java.awt.geom.Line2D$Double

I´m testing with Internet Explorer 6.0.
Anyone knows how to fix this?
Thanks!
 
Have a read of pages 628-630 from 'java how to program, 4th edition', Deitel and Deitel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top