File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes removing components Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "removing components" Watch "removing components" New topic

removing components

marko stone

Joined: Oct 16, 2002
Posts: 23
i want remove all components from JPanel jp for add them there again with another values
for remove i use
it's not work
jp.revalidate() have same effect
what's wrong ?
Ananth Murthy

Joined: Sep 07, 2003
Posts: 2
The code is correct and works. I tested
I agree. Here's the link:
subject: removing components
It's not a secret anymore!