设置lookandfeel你说的修改properties文件是一种方法,还有种方法就是在程序里设置。
UIManager.setLookAndFeel(javax.swing.plaf.metal.MetalLookAndFeel);

解决方案 »

  1.   

    一般都是用 UIManager 设置环境风格的吧
    直接修改文件好像太过暴力了  呵呵
      

  2.   

    我一般在程序的总入口 main() 方法里设置
    视觉风格啦 各种字体啦
    只要一次就够了。
    窗体出现后再设置就没效果了
      

  3.   

    类试这样:==========================================================
    /**
     * 方法: 程序入口
     */
        public static void main(String args[]) {
            //获取设置系统风格------------------//
            try {
                String laf = UIManager.getSystemLookAndFeelClassName();
                UIManager.setLookAndFeel(laf);
            } catch (Exception e) {}
            
            //全局字体设置----------------------//
            Font font1 = new Font("宋体",Font.PLAIN,12);
            Font font2 = new Font("宋体",Font.PLAIN,15);
            UIManager.put("Menu.font",font1);
            UIManager.put("MenuItem.font",font1);
            UIManager.put("Button.font",font1);
            UIManager.put("RadioButton.font",font1);
            UIManager.put("TableHeader.font",font1);
            UIManager.put("OptionPane.messageFont",font2);
            UIManager.put("OptionPane.buttonFont",font1);
            UIManager.put("TextField.font",font1);
            UIManager.put("Label.font",font1);
            UIManager.put("ToolTip.font",font1);
            UIManager.put("Table.font",font1);
            new Start(); //程序开始
        }