如果大家有好看的JAVA风格包都发出来  让大家都分享分享下 ...

解决方案 »

  1.   

    import javax.swing.UIManager;int i = 0;try {
    //UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");//JAVA默认的跨平台外观风格UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");//Nimbus风格,新出来的外观,JDK 6 Update10 版本开始出现//UIManager.setLookAndFeel("com.nilo.plaf.nimrod.NimRODLookAndFeel");//Nimrod风格(需要导入.jar包,nimrodlf-1.0e.jar,需要请留言)//UIManager.setLookAndFeel("com.birosoft.liquid.LiquidLookAndFeel");//Liquid风格(需要导入.jar包,liquidlnf.jar,需要请留言)//UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());//当前系统风格//UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");//Motif风格,外观接近windows经典,但宽宽大大,而且不是黑灰主色,而是蓝黑//UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());//跨平台的Java界面风格,不太明白这种说法//UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");//windows风格//UIManager.setLookAndFeel("com.apple.mrj.swing.MacLookAndFeel");//缺少类
    //UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel");//缺少类switch (i) {
                    case 0:
                        MetalLookAndFeel.setCurrentTheme(new OceanTheme());//海洋场景
                        i = 1;
                        break;
                    case 1:
                        MetalLookAndFeel.setCurrentTheme(new DefaultMetalTheme());//默认场景
                        i = 0;
                        break;
    }//设置主题场景SwingUtilities.updateComponentTreeUI(this);//更新外观,如果以上代码直接放在main中,此行可以不加} catch (Exception e) {
      e.printStackTrace();
    }
      

  2.   

        我要风格包  发我下吧  邮箱:[email protected]   谢了
      

  3.   

    风格包得找找,我的jar包太多了
      

  4.   

    楼主 我现在在公司 没有你要的包 你去我博客看看我的文章吧 那里有我找的jar包 你可以去下载 记得踩踩
      

  5.   

    啊 我也要 谢谢 [email protected]
      

  6.   

    http://blog.csdn.net/dingqiaowu/archive/2010/06/21/5684593.aspx#1424920 需要的朋友请从这里下载 谢谢
      

  7.   

         不是好意思  dingqiaowu  最近没时间  现在才给你给分