Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jtable and database tables  RSS feed

 
neg yaz
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I have a Jtable(use ResultSetTableModel) which shows the data of a database table.it is editable and I want to know how can I reflect the changes in a cell of a Jtable to the database tables? how can I get the index of column and row of that selected cell ?
I want to delete or update it.
 
Marco Ehrentreich
best scout
Bartender
Posts: 1294
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi neg,

I don't have a short answer for you problem but I'd recommend you to use an extension library for tables in Swing anyway. I recently used Glazed Lists in a project which is based on and compatible to JTable. It is much easier to use and gives you more reasonable features than pure JTables. Just take a look at their homepage and give it a try ;-)

Marco
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!