removing default 'handles'

Hi

Would anyone know how to remove those pesky node handles from each category in Java Help? I have managed to display other images to replace the default category and topic images and also the top level folder but i'd like to remove the node handles too. Any ideas?

Thanks.

[301 byte] By [stcampbe] at [2007-9-26 2:15:34]
# 1

Hi,

I don't know if you have solved this problem already, since it has been awhile. I don't think I can help you but I am interested to know if you managed to solve the problem and how? Also, you mentioned that you managed to display other images to replace the default category. Do you mind to elaborate on how you managed that?

I am using the Java Look and Feel, however I am changing the handles to plus/minus and I have done this by using:

UIManager.put("Tree.expandedIcon", expandedIcon.gif);

UIManager.put("Tree.collapsedIcon", collapsedIcon.gif);

Since I am declaring this at the very start of the program, all the windows tree handles are changed. This includes the JavaHelp TOC handles.

I am aslo changing the properties of the JTree component individually, and this is done by using

tree.putClientProperty("JTree.lineStyle", "Angled") where angled lines are activated between the plus/minus handles, looking like Windows Explorer. However, I have no idea how to set these lines for the JavaHelp TOC.

If you able to help please contact me at :

psoyza@hotmail.com

Looking forward to hear from you.

Thanks/ Pamita

psoyza at 2007-6-29 9:12:53 > top of Java-index,Desktop,Developing for the Desktop...