• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java2 API not found?

 
Scott Appleton
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm using jdk 1.3 but the following skeleton generates a compiler error:

The error is "cannot resolve symbol: class Ellipse2D"
Do I have to do something special with my setup to get the compiler to find the Java2D shapes? It doesn't seem to have a problem with the Graphics2D object.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to
import java.awt.geom.*;
 
Scott Appleton
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Cindy. (There should be an emoticon for "duh")
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic