Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

removing components  RSS feed

 
marko stone
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The code is correct and works. I tested
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!