File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!