| Author |
Changing the content pane
|
Ryan Maxwell
Greenhorn
Joined: Mar 21, 2006
Posts: 7
|
|
|
I'm trying to clear the content pane and then add all new componetns to it... Using the contentPane.removeAll() method, I've cleared the screen, but nothing, not even repainting, makes the new components visible... If anyone could help, I'd really appreciate it...
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8290
|
|
|
Use a CardLayout. Way easier than trying to manage the invalidation/validation of components.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
 |
|
|
subject: Changing the content pane
|
|
|