JTree Selection navigation is not proper.
I have used the JTree in my application. I have to move the highlighted bar on the JTree Nodes using Arrow Keys. Its is not working. If i use the Arrow Key, Red Color box around the node only moves instead of the highlighted bar. I am running this application in UNIX environment.
Any body have solution, please inform me.
# 2
hello friend,
i could not paste the code here, its a very large application.
First i selected the node in a tree. Then try to navigate the selection using Arrow Keys.
It navigates. But only Red Color rectange bar only moves. Not the HighLighted Selection Bar . It is still in the node which is selected last.
# 3
if your tree model uses Strings you should definately not confuse using ==
and .equals
. Thats where i got problemsfrom some time ago... but with out your code we cant help you much....
think about making a SSCCE (http://mindprod.com/jgloss/sscce.html)
or strip down the code and post the essentials here in code tags