Hi there,

I would like to add the option to change the font size of my application. In a menu the user could select which font size the entire application is supposed to use and then the font size for all components will be updated.
I am looking for the cleanest and safest solution. I *could* iterate through all components in my JFrame and set the font size manually, but that sounds dirty to me. I would also have to change the font size of every component on its creation which would not only be a lot of work (to go through my code and add all of those statements) but also error prone.

Any suggestions? Thanks in advance.