posted 14 years ago
Hi Ajith,
Your are very persistent with wanting to change the font sizes. If I had to do it, and I mean after putting up a fight not to do so and threatening to quick my job, I would set the font sizes on the LookAndFeel manager before creating the GUI. To do this your main function would need to be changed as follows:
Each of the UIManger.put calls will change the default setting. Note that this will not work if programmers use JLabel.setFont function, since the latter function override the default font. Also, the put function will not update any GUI that have already been created, that's why you need to set the font size before creating your GUI components.
I have not tested this code, so don't be too harsh on me if it does not work the first time.
Cheers.
[url]http://FrancoisNadeau.com[/url]