You can specify all of the fonts you wish to
use at the UIManager.
Another (uglier) way, is to write a recursive method which sets the fonts for all components in the contentpane of your frame. You could overwrite the add() method of the contentpane and call your recursive method everytime a component has been added.
> You can specify all of the fonts you wish to
> use at the UIManager.
>
> Another (uglier) way, is to write a recursive method
> which sets the fonts for all components in the
> contentpane of your frame. You could overwrite the
> add() method of the contentpane and call your
> recursive method everytime a component has been
> added.
>
Uglier? Thats what UIManager will do. But if you want to do whats already done, I suppose you could call it ugly.