This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Repainting Issue" Watch "Repainting Issue" New topic
Author

Repainting Issue

Rani Vish
Greenhorn

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
Greenhorn

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: http://aspose.com/file-tools
 
subject: Repainting Issue
 
Similar Threads
Dialogs windows not displaying properly
Multiple JFrames
jFrame Closing Solution
JProgressBar
General Frame problem