Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable

 
selvas kumars
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to create your own cell renderer and deal with it there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic