Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » It's possible to clean up a composite?
It's possible to clean up a composite? [message #442507] Mon, 06 September 2004 12:21 Go to next message
Eclipse UserFriend
Originally posted by: wudong.AT.sklse.org

Hi, all:
It's any method to clean the content of a composite, and assign new content
for it?
I know the stack layout seems can solve this problem, but i just want
discard all the former content in a composite and replace it with new one.

How can I do it?
thank you
Re: It's possible to clean up a composite? [message #442514 is a reply to message #442507] Mon, 06 September 2004 18:42 Go to previous message
Don McKee is currently offline Don McKeeFriend
Messages: 11
Registered: July 2009
Junior Member
> It's any method to clean the content of a composite, and assign new content
> for it?

You can iterate over the results of the composite's getChildren(), and
invoke dispose() on each child.

-Don
Previous Topic:Displaying PDF in eclipse via ActiveX control hangs randomly
Next Topic:using JMF within SWT?
Goto Forum:
  


Current Time: Thu Apr 25 06:12:13 GMT 2024

Powered by FUDForum. Page generated in 0.02886 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top