Metro style Push Button for Java (JMetro) – Revisited

This time the Push Button.

Tweaks:

  • Changed spacing between points on the focus ring (in accordance with what was done in the previous controls)
  • The button grew when it had focus in the light theme, this was fixed.
pushButton lightTheme1

Push Button Light Theme

pushButton lightTheme(button pressed)

Push Button Light Theme (button pressed)

pushButton darkTheme1

Push Button Dark Theme

pushButton darkTheme(button pressed)

Push Button Dark Theme (button pressed)

I’ve also fixed several issues with the CheckBox styling. Below you can see the CheckBox with jmetro Dark Theme (which I didn’t show before in the CheckBox post).

checkbox darktheme

CheckBox Dark Theme

Finally I’ve created a new project under the directory jmetro8. Stylesheets that work someway on java8 will work differently on javafx2, so because of this the folder jmetro will have the old stylesheets targeted at javafx2 and the folder jmetro8 will have the new stylesheets (the ones mentioned in my earlier posts) targeted at java8.

About these ads

2 thoughts on “Metro style Push Button for Java (JMetro) – Revisited

  1. JavaFX links of the week, November 4 // JavaFX News, Demos and Insight // FX Experience

  2. Java desktop links of the week, November 4 « Jonathan Giles

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s