is "Rectangle" a JPanel? I don't think in this section of the code is the error.
teo236
Junior Poster in Training
73 posts since Jul 2011
Reputation Points: 20
Solved Threads: 10
This is a hard one to work on because of the third party code.
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
You don' know what package these classes come from. Look at the import statements.
Whoever wrote the wheels package didn't do anyone a favor by using class names that are the same as the Java SE class names. Download the zip file and see all the classes with names the same as the java SE classes.
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656