如何列出所有可用的LookAndFeel主题? [英] How to list all available LookAndFeel themes?
本文介绍了如何列出所有可用的LookAndFeel主题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何列出所有可用的LookAndFeel主题? 然后,我想在JComboBox中显示供用户选择.
How to list all available LookAndFeel themes? I want to show then in a JComboBox for the user to select.
推荐答案
这很简单:
public static UIManager.LookAndFeelInfo[] getInstalledLookAndFeels()
顺便查看UIManager
文档此处
这篇关于如何列出所有可用的LookAndFeel主题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文