Desktop Java

JMetro Version 11.5.10 And 8.5.10 Released

Here we are again with another version of JMetro.

New additions in this version:

  • New style for controls inside Toolbar
  • New editable ComboBox style
  • Some tweaks to other styles
  • Some fixes

Keep on reading for details.

Editable ComboBox New Style

The editable ComboBox of previous versions of JMetro looked quite bad, mostly because, well, they didn’t actually have a defined style. Below you can see the editable combobox in Modena and JMetro Dark and Light style.

Editable ComboBox – Modena

I’ve also put the default JavaFX Modena style just for comparison sake. So you could see the differences to the original.

Toolbar Buttons New Style

This is actually a new style for Buttons and ToggleButtons that happens to be on, by default, when they are inside a ToolBar. You can set this style on a Button or ToggleButton by adding the styleclass light to them in case they’re not inside a ToolBar.

Below I show an animation containing a JavaFX Scene where at the top there is a ToolBar, and below it, a TreeView.

The second image shows the same JavaFX Scene but on previous JMetro versions, without this new style for ToolBars. The icons are from icons8.

The purpose is mainly for them not to be as prominent as regular buttons are, making a toolbar (or another place where you decide to put them) seem “less busy”.

This is yet another adaptation as, to my knowledge, Fluent Design doesn’t define a style for ToolBars. It does have a similar concept (or specialization) called an App Bar.

Other Changes

Other changes include:

  1. DatePicker: open calendar twice causes exception
  2. Add some margin around Separator control
  3. Add more space to the inside right part of a ComboBox so that more text fits inside
  4. Convert some of the content of stylesheets from px to em
  5. TreeTableView: Show/hide columns button should be the same as TableView

That’s all for now, check out my twitter account if you want to stay updated. From now on, my intention is to post more updates there.

Have a nice week!

Published on Java Code Geeks with permission by Pedro Duque Vieira, partner at our JCG program. See the original article here: JMetro Version 11.5.10 And 8.5.10 Released

Opinions expressed by Java Code Geeks contributors are their own.

Pedro Duque Vieira

JavaFX and Swing, Freelancer and Consultant specialized in creating User Interfaces. Has been working as a front end consultant and has been developing web, native and cross platform since 2006. Holder of a master degree in Computer Science, he's permanently studying and taking courses in User Interface Design and User Experience. Owner of the software company Pixel Duke.
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Back to top button