2

I have a problem , every UI element is too small if I use default Fonts etc. How do I change font for every possible UI element, default row heigth for JTable ?

user1633277
  • 510
  • 2
  • 7
  • 14

1 Answers1

0

Use UIManager class.Try with put() method.Use JTables getPrefferedSize() to get default size

Sanjaya Liyanage
  • 4,706
  • 9
  • 36
  • 50
  • UIManager.put(“TextField.font”, new Font(“Dialog”, Font.BOLD, 14)) like this you have to do the same for other ui components and then do a SwingUtilities.updateComponentTreeUI(your UI Frame) – Sanjaya Liyanage Apr 30 '13 at 17:25