Customizing JTable

前端 未结 1 677
傲寒
傲寒 2021-01-25 02:50

Good Day.

If the JLabel and JTextField font size can be changed as desired, is it possible to change also the font style (size, face, color) of the column names and elem

相关标签:
1条回答
  • 2021-01-25 03:30

    BasicTableHeaderUI has defaults for TableHeader.font, as well as TableHeader.background and TableHeader.foreground. You can use UIManager.put() with the TableHeader.font key to override the default.

    0 讨论(0)
提交回复
热议问题