[Original] the Swing technique .7: // set global Font Font set global public static void initGlobalFontSetting (Font fnt) {FontUIResource fontRes = new FontUIResource (fnt); for (Enumeration keys = UIManager.getDefaults () keys (); keys. .hasMoreElements ();) {Object key = keys.nexTelement (); Object value = uimanager.get (key); if (value instanceof fontuiresource UIManager.put (key, fontres);}}