This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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.