aspose file tools*
The moose likes JDBC 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
Bookmark "JTable" Watch "JTable" New topic
Author

JTable

satishind Reddy
Ranch Hand

Joined: Oct 17, 2000
Posts: 33
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

Joined: Nov 12, 2000
Posts: 34
Hello!
you may find the example in in demo\jfc\... directory of yr.javahome helpful.it is in JTable directory using AbstractTableModel Class.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JTable