File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes [SWT] flexibility of an expandbar (remove expanditems?) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "[SWT] flexibility of an expandbar (remove expanditems?)" Watch "[SWT] flexibility of an expandbar (remove expanditems?)" New topic
Author

[SWT] flexibility of an expandbar (remove expanditems?)

Jonathan Smiths
Greenhorn

Joined: Jan 29, 2010
Posts: 15
Hi all,

I am trying to create an application with multiple chats for some kind of support system.
Therefore I use a tabfolder with two tabitems, one with answered threads, one with new threads.
On each of the tabitems I have an expandbar with multiple expanditems (with chatboxes on them)
My problem lies in moving a thread to the 'read' tab. I have to move the expandItem, or remove and recreate it. However, there are no functions for removing, hiding or moving expanditems, expandbars or tabitems.
I searched for information on the expandbar of swt, but I could hardly find any forum threads about this widget. Am I trying to do something that's not possible? How could I try to solve this problem?
Jonathan Smiths
Greenhorn

Joined: Jan 29, 2010
Posts: 15
bump, anyone experience with the expandbar?
Kees Pieters
Greenhorn

Joined: Aug 14, 2002
Posts: 9
To complete this post: you have to use item.dispose. so the expandItem disposes itself
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [SWT] flexibility of an expandbar (remove expanditems?)