The Artima Developer Community
Sponsored Link

Java Answers Forum
panels

1 reply on 1 page. Most recent reply: Mar 22, 2002 12:34 PM by Matt Gerrans

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Mary

Posts: 7
Nickname: dj
Registered: Mar, 2002

panels Posted: Mar 22, 2002 11:47 AM
Reply to this message Reply
Advertisement
does any one know if you can remove a panel from a panel using the remove method or anything at all please help!!


Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: panels Posted: Mar 22, 2002 12:34 PM
Reply to this message Reply
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.

Flat View: This topic has 1 reply on 1 page
Topic: Moving from frame to frame Previous Topic   Next Topic Topic: COMBO BOXES

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use