Variable Rowheight in JTree

Hi,Is there an easy way to put custom components such JTextfield in a JTree and set the rowHeight of the node who displays this component in the right way?thx
[186 byte] By [Oleka] at [2007-11-27 3:51:17]
# 1
is propertytree.dev.java.net what you're looking for?
rebola at 2007-7-12 8:55:15 > top of Java-index,Desktop,Core GUI APIs...
# 2

It is nice

but i know how to set custom components in a tree.

My proble is, that the rowheight of each row in the tree is not changeable as it is in JTable.

So if i put a JPanel in a node this JPanel will only painted in the bounds of the nodes height.

I need a idea for various row height tree. I have see something i a javacodebook but the code of the used Renderer and Editor don't make something like editing the rowheight....

wonder how it worked ...

Oleka at 2007-7-12 8:55:15 > top of Java-index,Desktop,Core GUI APIs...
# 3
You have, of course, tried JTree's own setRowHeight(int) ? Here's from the documentation:Sets the height of each cell, in pixels. If the specified value is less than or equal to zero the current cell renderer is queried for each row's height.
rebola at 2007-7-12 8:55:15 > top of Java-index,Desktop,Core GUI APIs...
# 4
This method changes the rowheight of all rows....but if u want to got a node that contains a JLabel and the child of this node got a JTextArea the JLabel node is ok with 16 Pixel but the JTextArea should got as most as 150 row height....
Oleka at 2007-7-12 8:55:16 > top of Java-index,Desktop,Core GUI APIs...
# 5
hy, I want to know about SRV Record configuration to work with Solaris 8, Iplanet 5.2 and MS Active Directory Can anybody help me? Any suggestions? Thanks in advance
canrita at 2007-7-12 8:55:16 > top of Java-index,Desktop,Core GUI APIs...