How to set JFrame's title font
jduprezDec 15 2010 — edited Dec 15 2010Hello,
I want to control the font (specifically, the size) used to render the title of an application JFrame windows.
I'm relatively confident that this has been answered elsewhere already, but I can't seem to find it (Google sends back some links to Sun forums, which I don't manage to find migrated here).
I found a few web pages mentioning that this is rendered by the native OS as is the case for AWT Frame, but I don't think it's correct for JFrame - especially, since changing Swing's LAF obviously changes the appearance of titlebars. I suspect some combination of "SomeClass.setxxxUndecorated(true)" and "IDontKnowWhat" would enable to control the titlebar font.
Still, I didn't find any "Frame.title.font" property as listed by Rob's now famous [url http://tips4java.wordpress.com/2008/10/09/uimanager-defaults/]UIManagerDefaults.
Thanks in advance.
J.