How to set JavaFX default skin

前端 未结 4 520
礼貌的吻别
礼貌的吻别 2020-12-03 18:39

I noticed that when I run JavaFX application on JVM 7 and JVM 8 I get different default skins. How I can set the default skin to be same on every JVM?

4条回答
  •  广开言路
    2020-12-03 19:23

    You can also run with -Djavafx.userAgentStylesheetUrl=caspian on the command line.

提交回复
热议问题