Matt Gerrans
Posts: 1153
Nickname: matt
Registered: Feb, 2002
|
|
Re: panels
|
Posted: Mar 22, 2002 12:34 PM
|
|
Yes, the remove() method should do the trick. I haven't tried it and I couldn't find anything about it in the Definitive Guide to Swing for Java 2, Second Edition. If it doesn't appear to work, I would try a pack() and/or a repaint() after the remove(). If you are still not having success, report back here and I'll try it out (instead of just speculating) or maybe someone who knows for sure will chime in.
|
|