Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Set Changeable Background image on TreeNode

793933Dec 21 2008 — edited Dec 28 2008
My goal : Change the background image of TreeNode when selected

I have tried the TreeCellRenderer and paintComponent method
but the image only fill the area containing text only and it covers the text only.

Can anyone help me? thanks...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 25 2009
Added on Dec 21 2008
6 comments
163 views