Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to change the color/font/image of treenode
How to change the color/font/image of treenode [message #453611] Fri, 08 April 2005 06:08 Go to next message
zhang wei is currently offline zhang weiFriend
Messages: 84
Registered: July 2009
Member
Hi all,
I want to change the color/font/image of a tree
node on completion of an event on click of a button .
How can I do it ?

Thanks
Re: How to change the color/font/image of treenode [message #453750 is a reply to message #453611] Fri, 08 April 2005 15:20 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Check the Javadoc for TreeItem. Look for methods like TreeItem.setFont().
Add a selection listener to a button and call TreeItem API.

"wei zhang" <zhang-wei@sinocom.cn> wrote in message
news:6d8557cb71ae2d480849985956590811$1@www.eclipse.org...
> Hi all,
> I want to change the color/font/image of a tree
> node on completion of an event on click of a button .
> How can I do it ?
>
> Thanks
>
Previous Topic:How to hide/show the keyboard on pocket pc
Next Topic:Problem adding a drop down ToolItem in a ToolBarManager
Goto Forum:
  


Current Time: Tue Apr 23 08:51:47 GMT 2024

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

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

Back to the top