Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable

 
satishind Reddy
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can any one tell or give to me some sample code to display my data in JTable. as below mentioned format.
Column1 Column2 Column3
Satish 99999 1998-03-02
Column1,Column2... are header this should be 'Bold' and Some coloured text. and rows should be in some colour...
i will be more appricate if any one give to some sample code...
Thanks in advance...
Regards
Satish
 
NageswaraRao Karra
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!
you may find the example in in demo\jfc\... directory of yr.javahome helpful.it is in JTable directory using AbstractTableModel Class.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic