This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I am using Netbeans for my current project. I require to update a jtable based on what the user selects from a JTree consisting of all the files in his computer. The problem is that this JTable is not getting updated.
I am creating a new model and adding it each time. When I say getValueAt(x,Y) from the new value, it is giving me proper updation but this is not visible in UI. Please help
The only method needed is JTable#setModel(...). You do not need to call fireTableDataChanged(). If you're not seeing the new model's data in the table, chances are you're setting the model to the wrong table.