• Post Reply Bookmark Topic Watch Topic
  • New Topic

3 questions about JTable

 
jrookie
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
i have 3 questions about JTable
1) how change column background color ?
2) how i can set column header multi line ?
3) how make auto resize columns ? some cells have a lot of data and it's ended by "..." until i don't resize this column.how make it automatic ?
thanks
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jrookie
Welcome to the JavaRanch! Please adjust your display name to meet
the JavaRanch Naming Policy. You can change it here.
Thanks!
and welcome to the JavaRanch!
Take a look at the table examples here.
 
Jeff Chang
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the examples below:
http://www2.gol.com/users/tame/swing/examples/SwingExamples.html
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeff if you notice the link I gave him was the same
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!