This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JPanel, Remove Objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JPanel, Remove Objects" Watch "JPanel, Remove Objects" New topic
Author

JPanel, Remove Objects

S.Subhash Chandran
Greenhorn

Joined: Dec 31, 2002
Posts: 27
To Jpanel we add objects thus:
jpObj.add(JObj);
Is there any way to remove them dynamically?


Subhash Chandran S<br /><a href="http://www.indiwiz.com/" target="_blank" rel="nofollow">http://www.indiwiz.com/</a>
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
remove()
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JPanel, Remove Objects
 
Similar Threads
Disposing of Objects
How to: clear the JPanel before repainting?
WA #2 ..... word association
removing drawn objects
Closing a JPanel