JMetro Version 5.2 Released

Hello 👋 again

A new update to JMetro has just been released. Two new control styles were added: Titled Pane and Accordion. In addition there have also been tweaks to existing styles and bug fixes. Finally JMetro is now also available through Maven Central.

In this post I’ll go into more detail about the just release JMetro version 5.2.

JMetro version 5.2 details

New Accordion and Titled Pane styles

Accordion and Titled Pane dark and light styles were added. These are not part of Fluent Design and so are original to JMetro. These styles were made to work in harmony with the rest of JMetro Fluent Design inspired styles.

I’m just going to show the Accordion styles, as the Accordion control is composed of Titled Panes (though there still needs to be specific tweaks for the Accordion).

Accordion, JMetro light theme, Java, JavaFX theme, inspired by Fluent Design (previously was Metro)

Accordion – JMetro light theme

Accordion, JMetro dark theme, Java, JavaFX theme, inspired by Fluent Design (previously was Metro)

Accordion – JMetro dark theme

Other improvements

Here’s a list of other additions and improvements:

  • Tweaked Text Inputs dark theme (Text Field, Password Field and Text Area)

The following pictures show the previous and new Text Field styles. The new styles for Password Field and Text Area are similar.

Text Field JMetro theme version 5.2, Java, JavaFX theme, inspired by Fluent Design (previously was Metro)

Text Field – JMetro new version 5.2

Text Field JMetro theme version 5.0, Java, JavaFX theme, inspired by Fluent Design (previously was Metro)

Text Field – JMetro version 5.0

  • New Tooltip dark style and tweaked light style

The Tooltip light and dark style were the same in the previous version:

Tooltip, JMetro theme version 5.0, Java, JavaFX theme, inspired by Fluent Design (previously was Metro)

Tooltip – JMetro version 5.0

In the new version a new dark style was created and the light style was tweaked:

Tooltip, JMetro theme version 5.2, Java, JavaFX theme, inspired by Fluent Design (previously was Metro)

Tooltip – new JMetro version 5.2 light theme

Tooltip, JMetro dark theme version 5.2, Java, JavaFX theme, inspired by Fluent Design (previously was Metro)

Tooltip – new JMetro version 5.2 dark theme

Here is a list of other tweaks and fixes:

  • Radio Button color wasn’t correct when mouse is hover
  • Disabled menu item background color wasn’t correct when mouse is hover/pressed/focused
  • New Titled Pane light and dark style
  • Wrong border on Button hover for light theme
  • Text input dark theme disabled style looks too similar to normal style
  • Gradle wrapper wasn’t being pushed to the repo

Wrapping Up

JMetro continuous to evolve in an interactive fashion. Sometimes some styles that were already created are later tweaked and improved in a newer version. That’s also the case for version 5.2.

In this version new styles were added for 2 new controls Titled Pane and Accordion, other controls styles were tweaked and some bugs were fixed. As of version 5.2, JMetro is now also available through Maven Central.

For this version I’d like to thank Pavel Erokhin (MairwunNx) for creating detailed issues in the issue tracker and sometimes with suggested fixes. I’d also like to thank Andres Almiray (@aalmiray) for the changes to the Gradle script that make uploading to Maven Central possible. This is what open source is all about.

I believe that for free open source software (FOSS) to thrive users need to contribute back in some way by ideally either submitting PRs, sponsoring the project, creating your own FOSS, or contributing back to the jdk or javafx project, or whatever way there is a meaningful added value to the community.

Remember, there ain’t no such thing as a free lunch. In the end we all win.

Here’s what I have planned next:

  • Tree Table styles
  • Dialog styles
  • Accent color constants

Take care. ✌

 

2 thoughts on “JMetro Version 5.2 Released

Leave a Reply

Your email address will not be published. Required fields are marked *