e866. 确定可用外观

 UIManager.LookAndFeelInfo[] info = UIManager.getInstalledLookAndFeels();
    for (int i=0; i<info.length; i++) {
        // Get the name of the look and feel that is suitable for display to the user
        String humanReadableName = info[i].getName();
    
        String className = info[i].getClassName();
        // The className is used with UIManager.setLookAndFeel()
        // See e867 获取和设置外观
    }

 

Related Examples
posted @ 2018-09-06 08:50  borter  阅读(91)  评论(0编辑  收藏  举报