This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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.
I agree. Here's the link:
subject: problem with painting JFrame
Similar Threads
how to disable parent jframe when child jframe is active
Redirecting of one frame to another frame
Two JFrames...
Adding maxmize icon to JFrame