• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jtable column headings

 
David King
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an app that displays the result set for a given oracle query. I can successfully set the font for everything in the app except for the column headings. Has anyone have this issue before? Thanks-
------------------
"It's alive, it's alive!" -Young Frankenstien (We all are mad scientists when it comes to getting things to execute perfectly.)
 
Ashwin Desai
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You can use
table.getTableHeader().setFont(new Font("Times New Roman", Font.BOLD, 12));
Ashwin.
 
David King
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That was it. Thanks-
------------------
"It's alive, it's alive!" -Young Frankenstien (We all are mad scientists when it comes to getting things to execute perfectly.)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!