[Update 12 March, 2018: You should check out the Java, JavaFX theme page for updated information, things have changed]
I’ve been studying the interface of Windows 8, so I thought why not do a windows 8 theme for Java and what better timing than this given that there are only 3 days left for windows 8 to be available.
My first control is the Windows 8 “Push Button”, it’s simply just the normal button that you’re used to.
I’ll be releasing two themes: a dark theme (JMetroDarkTheme.css) and a light theme(JMetroLightTheme.css). The GIF below was captured from the demo aplication.
Together with the css files I’ve put an fxml file as an example. You can open it in Scene Builder then choose the style sheet you want to use by pressing “Preview -> Preview a style sheet…”. To see it in action click “Preview->Preview in window”.
The buttons are simply styled by adding the “.push-button” css class to a Button.
You can get the files here. Use them for any purpose, commercial or not.