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 Repainting Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Repainting Issue" Watch "Repainting Issue" New topic

Repainting Issue

Rani Vish

Joined: Feb 03, 2006
Posts: 22
Hi Friends,

I have a problem with Repainting the Child Frame which is activated inside main JFrame ,Actually i have a JFrame with some components, problem is that if i resize it and close the frame ,and if i open the same frame second time it overlap the previous resized position with the default size,this child frame is run as follows ...

Thannks in advance
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
might be easier to explain if you can post a working sample program that we
can copy/paste/compile/run and see what you are seeing.

just a frame with button, button to show child frame, and the steps to take to
produce the problem.
Rani Vish

Joined: Feb 03, 2006
Posts: 22
Thanks for the reply
my application is too big too copy paste here ! anyway i got the solution

The Bold line " aymNetwork " inside the condition make it initialize each time when the click occure
Thanks again
I agree. Here's the link:
subject: Repainting Issue
It's not a secret anymore!