JTree
does not seem to automatically resize its nodes to accommodate fonts of size 20+
. I've tried calling revalidate()
, but that doesn't seem to help. The text in the nodes appears "squished" vertically so that the top and bottom of letters are clipped.
How can I use large fonts and ensure that they are displayed properly with a JTree
?