This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes problem with painting JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "problem with painting JFrame" Watch "problem with painting JFrame" New topic

problem with painting JFrame


Joined: Oct 04, 2003
Posts: 7
i have 2 frame display one above other when i drag any of these frame my frames get blurred.can any one suggest me when i shall call the repaint method.
Tamizh Selvan

Joined: Oct 10, 2003
Posts: 15
call the invalidate() method in windowStateChanged(WindowEvent e) method of the windowAdapter Class.
Hope this help u.

"No one knows what one can do until one tries"<br />-John Kingsley.
wood burning stoves
subject: problem with painting JFrame
Similar Threads
Two JFrames...
Adding maxmize icon to JFrame
Redirecting of one frame to another frame
how to disable parent jframe when child jframe is active