JAVA Swing界面美化 -付费界面库

╰+攻爆jí腚メ 2022-04-18 02:50 544阅读 0赞

付费界面库

com.jtattoo.plaf.noire.NoireLookAndFeel 柔和黑
com.jtattoo.plaf.smart.SmartLookAndFeel 木质感+xp风格
com.jtattoo.plaf.mint.MintLookAndFeel 椭圆按钮+黄色按钮背景
com.jtattoo.plaf.mcwin.McWinLookAndFeel 椭圆按钮+绿色按钮背景
com.jtattoo.plaf.luna.LunaLookAndFeel 纯XP风格
com.jtattoo.plaf.hifi.HiFiLookAndFeel 黑色风格
com.jtattoo.plaf.fast.FastLookAndFeel 普通swing风格+蓝色边框
com.jtattoo.plaf.bernstein.BernsteinLookAndFeel 黄色风格
com.jtattoo.plaf.aluminium.AluminiumLookAndFeel 椭圆按钮+翠绿色按钮背景+金属质感
com.jtattoo.plaf.aero.AeroLookAndFeel xp清新风格
com.jtattoo.plafacryl.AcrylLookAndFeel 布质感+swing纯风格
com.jtattoo.plaf.graphite.GraphiteLookAndFeel

  1. try {
  2. // 加载主题, 如果要更换主题只需要更改这一行代码
  3. UIManager.setLookAndFeel("com.jtattoo.plaf.hifi.HiFiLookAndFeel");
  4. } catch (ClassNotFoundException | InstantiationException | IllegalAccessException
  5. | UnsupportedLookAndFeelException e) {
  6. e.printStackTrace();
  7. }
  8. EventQueue.invokeLater(new Runnable() {
  9. public void run() {
  10. try {
  11. SCSearchTree.startBuild();
  12. ViewMainInput view = new ViewMainInput();
  13. JFrame frame = view.frame;
  14. frame.dispose(); // 这里使用的顺序要注意
  15. frame.setUndecorated(true); //取消边框
  16. frame.setVisible(true);
  17. } catch (Exception e) {
  18. e.printStackTrace();
  19. }
  20. }
  21. });

发表评论

表情:
评论列表 (有 0 条评论,544人围观)

还没有评论,来说两句吧...

相关阅读

    相关 C#--winform界面美化

    1、界面的美化 一般的工控界面分成三部分: (1)、标题菜单部分,即项目名称、界面菜单等 (2)、数据显示及按钮等部分,即图形显示区,可以显示工艺流程图,采集到的相关

    相关 PyQt5设置登录界面界面美化

    写在前面 前一段时间博主刷了半个多月的LeetCode算法题,刷的归类为简单的那些题,做到自己简直要怀疑人生。想着人生在世,何苦这么为难自己呢,何不做点自己擅长的东西。想