1 2 Previous Next 15 Replies Latest reply on Sep 7, 2011 6:59 PM by darrylburke

    JTree not showing rendered component's data properly in system look & feel

      hey i have created a JTree and used CustomTreeCellRenderer to render the tree node. I have used JTextPane as rendered componenet for tree node.
      When i display tree in default java look and feel it shows node data properly but when i switch to system look and feel using method :


      it shows only one line while in other look and feel its shows properly multiple lines.

      And also in java default look and feel when i set client property for line "None". it doesn't show lines which actually i want but when i switch to system look and feel it shows dotted lines which i don't want. how can i ignore this?

      Im using Win XP

      how can i solve this issue?

      Edited by: 811243 on Sep 7, 2011 3:46 AM
        1 2 Previous Next