I am making a multi-windowed paintbrush.
There is a JPanel in a JFrame with some JButtons.
Intermediate drawings(ovals,rectangles), on mouse drag are drawn on
the glassPane and final drawing is done on the JPanel on mouse
release. Problem is that when some Java window is made visible using
setVisible( true ), it spoils the underlying drawing by leaving its
contents behind as a picture.
Could anybody help....
A tried-everything-but-no-success programmer.