How to improve look and feel of JAVA swing GUI?

后端 未结 6 2149
悲哀的现实
悲哀的现实 2020-12-05 03:07

I am working on a project that uses Java Swing. The default look and feel of the Java Swing GUI is very boring. Is there any way I can use a better look and feel? Something

6条回答
  •  余生分开走
    2020-12-05 03:32

    You can set the look and feel to reflect the platform:

    try { 
        UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    } catch (Exception e) {
        e.printStackTrace();
    }
    

    If this is not nice enough for you, take a look at SWT for Eclipse.

提交回复
热议问题