G
giangiammy
Hi all,
I'm using a JTree to visualiza an XML file:
I create the various node with:
new DefaultMutableTreeNode("THIS IS: string to show");
I'D like to have the string separated in 2 parts,
"THIS IS" should be bold face, while
"string to show" is normal face.
Is there a way to divide that string and have it shown
with different fonts.
Or is there some other widgets to use?
(Eventually, if you have a link to an example)
thanks
giammy
I'm using a JTree to visualiza an XML file:
I create the various node with:
new DefaultMutableTreeNode("THIS IS: string to show");
I'D like to have the string separated in 2 parts,
"THIS IS" should be bold face, while
"string to show" is normal face.
Is there a way to divide that string and have it shown
with different fonts.
Or is there some other widgets to use?
(Eventually, if you have a link to an example)
thanks
giammy