• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTree-Font of the newly added node to be in italics???

 
prav ford
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I add a node to the jtree dynamically. But i want the node to be in italics. (Say) something like an java IDE. The new File u add or edit has its name in the tree in italics.
If i use defaultTreeRenderer, the complete tree gets italic.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!