days
-4
-3
hours
-1
-5
minutes
-2
-2
seconds
-3
-3
search
Microsoft like ribbon control for JavaFX

Simplify the UI of your application with FXRibbon

Eirini-Eleni Papadopoulou
JavaFX
© Shutterstock / TarikVision  

FXRibbon is a Microsoft like ribbon control for Java (JavaFX) and its newest release 1.2 is stuffed with a bunch of major changes and improvements. Let’s take a closer look.

FXRibbon offers Ribbon control for Java, implemented using JavaFX, based on Microsoft Ribbon and it was created in order to simplify the UI of applications with a significant number of actions.

The main goals for this control include:

  • Customizable via CSS
  • FXML friendly
  • Looks good, modern and simple

Now that we have made the necessary introductions, let’s move onto the latest news for FXRibbon which is the release of the 1.2 version.

SEE ALSO: JavaFX 11 under the microscope: “There’s a lot more going on with JavaFX than anyone gives it credit for”

However, if you would like to have a more thorough introduction into this tool, check out the official documentation.

All the new stuff

The creator, Pedro DV, mentioned in his blog post:

After an issue request to make FXRibbon better prepared to be updated to Java 9, and beyond, I took the opportunity to also add some features, make some aesthetic adjustments, fix some withstanding bugs, further clean up the project, and overall polish it.

FXRibbon 1.2 is the result of this effort and it brings with it major updates and changes. More specifically, the changes featured in this release include:

  1. Make FXRibbon better prepared to be updated to Java 9 and beyond. This includes replacing the use of classes that are no longer available on newer versions of JavaFX.
  2. Have CSS variables which can be easily overridden to tweak FXRibbon visuals.
  3. Fine tune aesthetics: combobox appearance inside the ribbon, tweak colors, font sizes, etc.
  4. Create two separate projects, one with the FXRibbon library (“FXRibbon”) and the other one with code samples for documentation purposes (“FXRibbon-samples”). Developers can check out the FXRibbon-samples project to see simple practical examples of FXRibbon usage.
  5. Make FXRibbon work better with JavaFX theme JMetro.
  6. RibbonGroup titles should be always aligned with each other, which didn’t always happen. This was fixed.
  7. Clean up code and Ribbon CSS file.

If you want to have a more detailed overview of the latest release and its features, you can find all the info available in Pedro DV’s blog post.

Getting started

You can download the library jar here or you can find FXRibbon on Bintray and JCenter (replace version with the version number you want):

<dependency>
  <groupId>com.pixelduke</groupId>
  <artifactId>FXRibbon</artifact>
  <version>1.0.1</version>
  <type>pom</type>
</dependency>

Note that you can replace vesrion with the version number you want.

    DevOpsCon Whitepaper 2018

    Free: BRAND NEW DevOps Whitepaper 2018

    Learn about Containers,Continuous Delivery, DevOps Culture, Cloud Platforms & Security with articles by experts like Michiel Rook, Christoph Engelbert, Scott Sanders and many more.

luiqwgo

Author
Eirini-Eleni Papadopoulou
Eirini-Eleni Papadopoulou is an assistant editor for JAXenter.com. Just finished her masters in Modern East Asian Studies and plans to continue with her old hobby that is computer science.

Leave a Reply

Be the First to Comment!

avatar
400
  Subscribe  
Notify of