0

Basically am setting a background color for the selected component/node in the Jtree. But the problem is the background color length is exceeding the length of the node text. So can anybody tell on how to control the length of the background color? I want the background color of any node to be adjusted according to the text length of a node.

0 Answers0