Thread-topic: JTree/TreeCellRenderer large image grief
---- Gregory Pierce wrote: -----
Hoping someone can help me here. I have a JTree that has a custom
TreeCellRenderer. The component that I'm returning is just a regular
old JLabel. When I set the image which is of size 64x64, the image is
being cropped. If I set the size of the Jlabel to have a height of 64
- its still cropped.
--------------------------------
JTree.setRowHeight( int pixels ) may help. The drawback here is that it
applies to all rows in the tree, including branch nodes.
-Krista Miller
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden