Does JavaFX have a “native look and feel” option like Swing?

后端 未结 5 1020
再見小時候
再見小時候 2021-01-31 14:10

It\'s been a couple of years since I\'ve done any Java work, my last efforts were using Swing. I\'m poking around with a cross-platform client app that will interact with a Rai

5条回答
  •  野性不改
    2021-01-31 14:47

    • JavaFX 2.0 has only one Look by default that is called "Caspian".
    • With Java 8 a second one was introduced, called "Modena".

    Both are cross-platform Look&Feels.

    See announcement of Modena, with screenshots.

    At the moment some developers create native Styles for JavaFX as OpenSource projects. You can find an overview here:

    • http://www.guigarage.com/2013/01/this-is-for-the-native-ones/

    If you are interested in the Mac OS L&F (AquaFX) for JavaFX, here are some posts with previews:

    • http://www.guigarage.com/category/aquafx/

提交回复
热议问题