I want to make node heights of JTree nodes to differ. I mean like the parents have different node height and childs have different node height.
I tried to put myJTree.setRowHeight(30) while adding nodes but it doesn't work because it does not work for a single node but for the whole tree. Is there any way to get it done?