I have the following 3 pages of code!! It is a paint application (like MS paint)
The application is run by executing the MainPaint which basically just calls main method.
I have been trying t set the background color for PaintingCanvas. have tried all sorts of things and nothing has wrked out.
Can someone pleaaase study the code and suggest a method ASAP. It needs to be somewhere in the clear() method.
->Also, is it right to add the PaintingCanvas to frame or to the contentpane?
[RP] removed long unreadable code after several requests [/RP]
"firsttimer too", I've removed the long unreadable code part after several requests from others about it not being readable and hindering their ability to read this thread. If you still need to after reading Rob Camick's post you can repeat the relevant parts, and in code tags.
I also removed the being grateful part of the subject, as it didn't add anything since everybody is always grateful