Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTree and JTable and Database  RSS feed

 
Naveen Asha
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,
I am using JTree and JTable, while JTree nodes are table names of database. I want to make application of a kind that while a user click on a jtree node thats display data in JTable.
But problem is that it only show contents of first node/table, which are default. It not update JTable as user click on second node. What I do for this is that when a user click on new node it create TableModel and handover to JTable.
Please help me!
Naveen
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!