• Post Reply Bookmark Topic Watch Topic
  • New Topic

with regard to AbstractTableModel?

 
kelly zeng
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to get value from db.db!
I implentment AbstractTableModel!
but how to get value of table cell?
did you pass by getValueAt() ?
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
p.p
Yes, getValueAt is the way to go. I did a quick search on http://java.sun.com, have a look at this : http://developer.java.sun.com/developer/onlineTraining/GUI/Swing2/Magercises/M4/help.html
Cheers
Torgny
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SECOND WARNING
"p.p."-
Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it
here.
Thanks! and welcome to the JavaRanch!
Mark
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!