tag:blogger.com,1999:blog-2302252496976792766.post1550053114377033291..comments2022-04-06T04:25:23.348+05:30Comments on Java Geeks: Making a JTree transparentShirish Pandharikarhttp://www.blogger.com/profile/08711504385122792110noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-2302252496976792766.post-16677558651602393602009-07-28T15:34:03.954+05:302009-07-28T15:34:03.954+05:30Ok basically this works, but using this approach d...Ok basically this works, but using this approach disabling the tree gets you a pretty nice NullPointerException. To avoid this use <br />setBackgroundNonSelectionColor(new Color(0, 0, 0, 0)); on the renderer object instead. Same effect no NPEs.Unknownhttps://www.blogger.com/profile/12080131142005424680noreply@blogger.comtag:blogger.com,1999:blog-2302252496976792766.post-89763885995156765152008-12-22T19:53:00.000+05:302008-12-22T19:53:00.000+05:30thanks for this piece of code.its very tricky.thanks for this piece of code.<BR/>its very tricky.Anonymousnoreply@blogger.com