我从网上下载了Java开源的Swing外观,我是想把下载的外观用在我的应用程序上!但是不知道怎么用!求高手赐教!我下载的网站是:https://looks.dev.java.net/

解决方案 »

  1.   

    不好意思,接分!
    前提,将皮肤包放在classpath中...在初始化界面后:
    try {
       UIManager.setLookAndFeel(new PlasticXPLookAndFeel());
    } catch (Exception e) {}或:
    PlasticLookAndFeel.setPlasticTheme(new DesertBlue());
    try {
       UIManager.setLookAndFeel(new Plastic3DLookAndFeel());
    } catch (Exception e) {}参考jgoodi参考文档就知道啦!!!