在这里下了一个:http://download.csdn.net/source/760960
不是jar文件,跟平常写的程序结构一样
导入一个工程之后,出现很多包。。

解决方案 »

  1.   

    引用下呗!!!资源里不是还有个java gui++的么?将lib文件里面的驱动导入到工程中,和导入classese12.jar方法一样
    并将下列代码复制到main方法中运行程序即可看到美化后的效果:
      try {
         UIManager.setLookAndFeel("com.nilo.plaf.nimrod.NimRODLookAndFeel");
     //UIManager.setLookAndFeel("org.jvnet.substance.skin.SubstanceFieldOfWheatLookAndFeel");
     //UIManager.setLookAndFeel("org.jvnet.substance.skin.SubstanceMagmaLookAndFeel");
     //UIManager.setLookAndFeel("com.birosoft.liquid.LiquidLookAndFeel");
    } catch (InstantiationException e1) {
    // TODO Auto-generated catch block
    e1.printStackTrace();
    } catch (IllegalAccessException e1) {
    // TODO Auto-generated catch block
    e1.printStackTrace();
    } catch (UnsupportedLookAndFeelException e1) {
    // TODO Auto-generated catch block
    e1.printStackTrace();
    } catch (ClassNotFoundException e) { }
    四条语句是四种不同的界面,喜欢哪个就用哪个!!!
      

  2.   

    不是jar文件吗?最好下jar文件的皮肤包吧
    用Eclipse,选中工程名进入属性(property)然后选择Java Build Path——>Libraries——>Add External Jars——> 选择皮肤包所在路径
    在主方法的代码前添加如下代码:
    try {//皮肤包
    javax.swing.UIManager.setLookAndFeel("com.jtattoo.plaf.mcwin.McWinLookAndFeel");//此句可更换为如下代码(风格不同):
    } catch (Exception e) {
    e.printStackTrace();
    }
    有以下风格可以设置:
    //javax.swing.UIManager.setLookAndFeel("com.jtattoo.plaf.smart.SmartLookAndFeel");
    //javax.swing.UIManager.setLookAndFeel("com.jtattoo.plaf.luna.LunaLookAndFeel");//很浅绿
    //javax.swing.UIManager.setLookAndFeel("com.jtattoo.plaf.aluminium.AluminiumLookAndFeel");//灰色
    //javax.swing.UIManager.setLookAndFeel("com.jtattoo.plaf.bernstein.BernsteinLookAndFeel");//太黄了
    //javax.swing.UIManager.setLookAndFeel("com.jtattoo.plaf.hifi.HiFiLookAndFeel");//全黑
    //javax.swing.UIManager.setLookAndFeel("com.jtattoo.plaf.mint.MintLookAndFeel");
    //javax.swing.UIManager.setLookAndFeel("com.jtattoo.plaf.aero.AeroLookAndFeel");
    //javax.swing.UIManager.setLookAndFeel("com.jtattoo.plaf.fast.FastLookAndFeel");//buhk
    //javax.swing.UIManager.setLookAndFeel("com.jtattoo.plaf.acryl.AcrylLookAndFeel");
    //javax.swing.UIManager.setLookAndFeel("com.jtattoo.plaf.noire.NoireLookAndFeel");