aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable" Watch "JTable" New topic
Author

JTable

selvas kumars
Ranch Hand

Joined: Jan 06, 2001
Posts: 115

Hi Folks,
In JTable can i hide certain cell values ...(ie)like a report
format.
eg: In AbstractTableModel i will have data like

ABCL Sydney Aus
ABCL NewYork USA
ABCL London UK

while showing in JTable UI i want to be shown as follow
ABCL Sydney Aus
NewYork USA
London UK
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
You need to create your own cell renderer and deal with it there.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JTable
 
Similar Threads
JTable
place you aspire to visit atleast once in your life time
How to Display a JTable with the Data
Readind and Writing Contents of JTable in txt file
JTable