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 ?
            Asked
            
        
        
            Active
            
        
            Viewed 87 times
        
    2
            
            
        - 
                    1Have a look at this question: http://stackoverflow.com/questions/7434845/setting-the-default-font-of-swing-program-in-java – Branislav Lazic Apr 30 '13 at 17:03
- 
                    1Please edit your question to include an [sscce](http://sscce.org/) that exhibits the problem you describe. – trashgod Apr 30 '13 at 17:15
- 
                    1Use a `BigLookAndFeel` (a custom PLAF). – Andrew Thompson May 01 '13 at 02:09
1 Answers
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
