aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Swing : refreshing panels Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Swing : refreshing panels " Watch "Swing : refreshing panels " New topic

Swing : refreshing panels

jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
Hi Guys : I have a problem where
a Jpanel inside another JPanel
must change - but the changed components
are not shown until either the inner panel is clicked, or the window is resized.

This is a really weird bug --- i though that nested jpanels were essentially autonomous components, i.e. if they change, than there is no need to notify the parent programatically... am I wrong ?
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
Cool THANK YOU SO MUCH ! That worked !
Have you tried LearnNowOnline?
subject: Swing : refreshing panels