Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Drawing in Java

  Asked By: Howard    Date: Aug 07    Category: Java    Views: 767
  

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.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Drawing in Java Or get search suggestion and latest updates.




Tagged: