DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Popular
  3. Open Source
  4. JMetro Version 5.2 Released

JMetro Version 5.2 Released

Learn more about the newest additions to JMetro!

Pedro Duque Vieira user avatar by
Pedro Duque Vieira
·
Feb. 28, 19 · News
Like (2)
Save
Tweet
Share
8.30K Views

Join the DZone community and get the full member experience.

Join For Free

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 available through Maven Central.

In this post, I’ll go into more detail about 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 the 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).

Image title

Accordion – JMetro light theme


Image title

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.

Image title

Text Field – JMetro version 5.0


Image title

Text Field – JMetro new version 5.2


  • New Tooltip dark style and tweaked light style

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

Image title

Tooltip – JMetro version 5.0


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

Image title

Tooltip – new JMetro version 5.2 light theme


Image title

Tooltip – new JMetro version 5.2 dark theme


Here is a list of other tweaks and fixes:

  • Radio Button color wasn’t correct when the mouse is hovering
  • Disabled menu item background color wasn’t correct when the 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 the normal style
  • Gradle wrapper wasn’t being pushed to the repo

Wrapping Up

JMetro continues 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 two 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, 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

As usual, follow me on twitter (@P_Duke) to get the latest updates.

Take care!

Open source Light (web browser)

Published at DZone with permission of Pedro Duque Vieira, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Express Hibernate Queries as Type-Safe Java Streams
  • Using the PostgreSQL Pager With MariaDB Xpand
  • Secrets Management
  • What Is Policy-as-Code? An Introduction to Open Policy Agent

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: