How to Add Medusa.jar in Scene Builder and use Gauge in FXML?

Step 1: Please follow the link given below to download medusa jar file and save on your computer.Click on (https://bintray.com/hansolo/Medusa/Medusa) the link and you will see following web page and click on the jar download link as shown in given image.

 
 
Once
download complete please follow step 2.
 
Step
2:
  Open scene builder 2.0 and click on
small gear icon as shown in the given image below.
 
 
 
Step 3: Now
you will see a small menu with the import option then click on it as shown in
the given image.
 
 
Now you
have to select Medusa.jar that you downloaded in the first step. And click open
to import jar file.
 
 
Then you
will see the following three classes Clock, FGauge, Guage is being added in
scene builder and prompts you a window for your confirmation to add. Click on
Add component button on the screen.
 
 
Now you have
added Gauge classes successfully and you are ready to use in scene builder.
 
Step 4: Now
go to lib search box and you will find gauge are ready to drag and drop on
stage.
 
 
Once you
drag and drop gauge on Anchor pane it will look like the below-given image.
 
 
Now you are fee to customize gauge from property window to change look and feel of Gauge.
 
Please feel free to comment if you have any doubt.

2 thoughts on “How to Add Medusa.jar in Scene Builder and use Gauge in FXML?”

  1. Hi,

    Only the clock is getting imported. The other 2 controls are not appearing in the custom list of controls. What could be the problem and where can I look for errors?

    Regards,

    Reply

Leave a Comment