Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Open up the example and look at the imports. The package will describe where it is located. If it is a standard Java API class then you should copy the import into your class where you use the rectangle.

If the import has a different package, try to locate the library with this class. Copy the library into a folder. If you use Eclipse click right onto the lib and select "add to build path".

If none of this solutions worked, please give us more information. Perhaps a snippet of the example file.