my dog learned polymorphism
The moose likes JDBC and Relational Databases and the fly likes JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JTable" Watch "JTable" New topic


satishind Reddy
Ranch Hand

Joined: Oct 17, 2000
Posts: 33
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...
NageswaraRao Karra
Ranch Hand

Joined: Nov 12, 2000
Posts: 34
you may find the example in in demo\jfc\... directory of yr.javahome is in JTable directory using AbstractTableModel Class.
I agree. Here's the link:
subject: JTable
It's not a secret anymore!