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. Data Engineering
  3. Databases
  4. JMetro Adds a New TableView Style in JavaFX

JMetro Adds a New TableView Style in JavaFX

A new TableView style has been added to the JMetro JavaFX theme. Click here to learn more!

Pedro Duque Vieira user avatar by
Pedro Duque Vieira
·
Jul. 04, 18 · News
Like (2)
Save
Tweet
Share
9.96K Views

Join the DZone community and get the full member experience.

Join For Free

This time the TableView “Metro” style gets added to the Java, JavaFX theme JMetro. This amps up the JMetro version to 3.1.0.

The reason I didn’t add the Table style before is because, strangely, there isn’t a definition for the Table in the Fluent Design System (previously Metro). There is a preview control called DataGrid, but it is still in preview and will only be officially added later.

The JMetro Table style is a custom made style based on the Fluent Design System’s other controls and guidelines.

As usual, there is a dark and light theme.

JMetro Table View – Light Theme

JMetro Table View – Dark Theme

If you’re familiar with the standard JavaFX theme (Modena), you’ll also notice that the JMetro arrow that appears when sorting a column is different.

The border around the Table in the dark and light themes are not part of the control style. It was added to the Table in the sample app.

In the light theme, there is a light border below the header row that is not visible in the GIF. It is visible in a PNG image:

Image title

These are the relevant fixes that have been made in version 3.1.0:

  • Fix toggle switch style showing with rounded corners

As usual check out the Java JavaFX theme JMetro page for information on how to use JMetro theme.

Further Developments

In the next weeks, my intention is to make the further improvements to the library:

  • Add TreeView style
  • Improve Radio Button style
  • Improve Check Box style
  • Improve Toggle Switch style
  • Add the ability to change the accent color and other colors easily through a code call or CSS definition
JavaFX Database

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

  • Why It Is Important To Have an Ownership as a DevOps Engineer
  • Apache Kafka vs. Memphis.dev
  • DevOps Roadmap for 2022
  • How to Quickly Build an Audio Editor With UI

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: