aspose file tools
The moose likes Swing / AWT / SWT and the fly likes removing components Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "removing components" Watch "removing components" New topic
Author

removing components

marko stone
Greenhorn

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

Joined: Sep 07, 2003
Posts: 2
The code is correct and works. I tested
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: removing components
 
Similar Threads
JSplitPane
AWT in an Applet
Which LayoutManager To Use ?
clear JPanel
Quick question about interfaces