Tech Support Guy banner
  • Please post in our Community Feedback thread for help with the new forum software! If you are having trouble logging in, please Contact Us for assistance.
Status
Not open for further replies.
1 - 9 of 9 Posts

·
Registered
Joined
·
6,649 Posts
Hi Webman,

You should first download the acm.jar file from this page.
Then you adapt the compiler options of your IDE to access the classes embedded in acm.jar.
 

·
Registered
Joined
·
6,649 Posts
Just try this, for example :

Code:
GPoint[] gp = new GPoint[3];    // if you want a triangle

gp[0] = new GPoint(0,0);
gp[1] = new GPoint(1,1);
gp[2] = new GPoint(2,3):

GPolygon triangle = new GPolygon(gp);
 
1 - 9 of 9 Posts
Status
Not open for further replies.
Top