• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question about JTable

 
Jofer Chan
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,everyone:
in my Client,
may I just use the DefaultAbleModel for the table?
 
Ken Krebs
Ranch Hand
Posts: 451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jofer,
You certainly can if you want to. But you'll want to ask yourself if it's easier to do that or to roll your own.
 
Jofer Chan
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,Ken,
thank you.
I use the AbstractTableModel for JTable,
but I don't know to implement the SINGLE SELECTION for the table,
how to implement the SINGLE SELECTION ?
 
Seid Myadiyev
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jofer,
As I understand, selection mode for JTable is part of the JTable API. Once you have the JTable object then you can use it to set the selction mode for it.
Reragds,
Seid
 
Jofer Chan
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,Seid
thank you,you awoke me.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic