Mixing look and feel

前端 未结 3 869
孤城傲影
孤城傲影 2021-01-21 13:45

So far I have this

public static void main(String[] args) {
        try {
            UIManager.setLookAndFeel(\"com.sun.java.swing.plaf.nimbus.NimbusLookAndFee         


        
3条回答
  •  情歌与酒
    2021-01-21 14:35

    I've done it. You have to create parts of the UI, and then call UIManager.setLookAndFeel() to change the look & feel, and then create the other parts. It's more like a hack.

提交回复
热议问题