Swing用UIManager.setLookAndFee怎么选择界面风格的
2018-01-28 12:51
501 查看
获取系统的lookandfeel
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
获取其它lookandfeel
javax.swing.UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
javax.swing.UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
javax.swing.UIManager.setLookAndFeel("com.sun.java.swing.plaf.mac.MacLookAndFeel");
或
设置成系统风格
javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName());
各种第三方风格(需要引jar)
javax.swing.UIManager.setLookAndFeel("com.birosoft.liquid.LiquidLookAndFeel");
javax.swing.UIManager.setLookAndFeel("com.pagosoft.plaf.PgsLookAndFeel");
javax.swing.UIManager.setLookAndFeel(new TonicLookAndFeel());
javax.swing.UIManager.setLookAndFeel("com.nilo.plaf.nimrod.NimRODLookAndFeel");
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
获取其它lookandfeel
javax.swing.UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
javax.swing.UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
javax.swing.UIManager.setLookAndFeel("com.sun.java.swing.plaf.mac.MacLookAndFeel");
或
设置成系统风格
javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName());
各种第三方风格(需要引jar)
javax.swing.UIManager.setLookAndFeel("com.birosoft.liquid.LiquidLookAndFeel");
javax.swing.UIManager.setLookAndFeel("com.pagosoft.plaf.PgsLookAndFeel");
javax.swing.UIManager.setLookAndFeel(new TonicLookAndFeel());
javax.swing.UIManager.setLookAndFeel("com.nilo.plaf.nimrod.NimRODLookAndFeel");
相关文章推荐
- 如何设置Java桌面程序界面外观(How to Set the Look and Feel) UIManager
- 关于JAVA界面风格(How to Set the Look and Feel)
- 如何设置Java桌面程序界面外观(How to Set the Look and Feel)
- 如何设置Java桌面程序界面外观(How to Set the Look and Feel)
- 用各种look and feel打造swing界面
- 如何设置Java桌面程序界面外观(How to Set the Look and Feel)
- 用UIManager使Swing界面转换风格。
- 如何设置Java桌面程序界面外观(How to Set the Look and Feel)
- 用各种look and feel打造swing界面
- 设置UIManager.setLookAndFeel
- 如何设置Java桌面程序界面外观(How to Set the Look and Feel)
- Swing笔记 1. UIManager , Look and Feel , SwingUtilities
- 如何设置Java桌面程序界面外观(How to Set the Look and Feel)
- (swing读书笔记)Swing Look And Feel(4)
- Java JFC/Swing Look and Feel 创建于展示
- UIManager【NimROD Look And Feel】
- java swing中设置界面的外观风格
- Windows7开机的操作系统选择界面的Ubuntu怎么删除?
- 使用LookAndFeel为界面更换皮肤
- java swing中设置界面的外观风格