By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,045 Members | 1,305 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,045 IT Pros & Developers. It's quick & easy.

TableExample & how to hide ID column ?

P: n/a
Tux
I connect my JTable through the JDBCAdapter with the database
on the same way as j2sdk1.4.2 example shows.
I change the
setValueAt(...) method
so I update only through the ID column:
UPDATE BASE SET Name = 'Mario' WHERE id = 1234
As you see I need ID column in a JTable because I
getValueAt(row,column) for ID value.

So how to get ID value with ID column hide or removed
from JTable? If you have better way of connecting JTable
and database you can suggest me. I only see that from jdk
examples.
Thank you

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.