转自:http://sunkingxie.blogchina.com/blog/article_84486.351311.html将GUI中全部字体设为宋体 Font font = new Font( " 宋体 " , Font.PLAIN, 12 );Enumeration keys = UIManager.getLookAndFeelDefaults().keys(); while (keys.hasMoreElements()) ... { Object key = keys.nextElement(); if (UIManager.get(key) instanceof Font) ...{ UIManager.put(key, font); }}