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.

[335 byte] By [TSKarthikeyana] at [2007-11-26 21:41:40]
# 1
Can you post your code here, so that we can further see what you mean.Be sure to use the <code>, </code> tags for improved readability.:)
lem@phila at 2007-7-10 3:27:21 > top of Java-index,Desktop,Core GUI APIs...
# 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.

TSKarthikeyana at 2007-7-10 3:27:21 > top of Java-index,Desktop,Core GUI APIs...
# 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

jEti182a at 2007-7-10 3:27:21 > top of Java-index,Desktop,Core GUI APIs...