This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.