I have the following issue: I have two components on my application; leftComponent and rightComponent. The leftComponent has a JTree with 3 nodes. If a user selects node 1, the application is supposed to display something on the rightComponent. For some reason, I need to click the node twice to have something displayed on the rightcomponent. I did see it called valueChanged when I select a node. Any idea?
BTW, I update the rightcomponent in the valueChanged() method.