JavaFX: Progress-Bar CSS Styling

Posted: Mai 29th, 2014 | Filed under: Java | Tags: , , , , , , | 3 Comments »

In my opinion the JavaFX CSS Reference Guide is not well elaborated. With the help of screenshots and concrete examples it would be much easier to understand the explanations. Therefore I started to give you some examples for specific components.

In the following post the progress-bar component is introduced.

Progress-Bar Tutorial

.progress-bar {
    -fx-background-color: yellow;
    -fx-background-radius: 10, 10, 10, 10;


.progress-bar .track{
    -fx-background-color: green;
    -fx-background-insets: 20;
    -fx-background-radius: 6, 6, 6, 6;

.progress-bar .bar { 
    -fx-background-color: grey;
    -fx-background-insets: 30, 30, 30, 30; 
    -fx-background-radius: 4, 4, 4, 4;

Feel free to copy and paste everything!

jSona: Simple JavaFX based music player

Posted: April 1st, 2014 | Filed under: Allgemein, Java, Programmieren | Tags: , , , , , , | 4 Comments »

Hey, today I want you to introduce my new project that is called jSona. It is based on JavaFX, Apache Lucene and vlcj. I developed jSona because I found no music player that keeps in synch with my music folders and fits my needs. Because I just launched this project it has not that many features:

  • Supports all common media formats that VLC supports
  • Load artist information and images via and MusicBrainz
  • Include your music folders
  • Create multiple playlists
  • Fulltext search

I tried to make a good looking, simple to use and clean user interface. All artist information like an image, the vita or the top tracks is loaded via the great API. If you click on the top tracks then YouTube will be opened with a correspondent search query. The heart of the music player is a JSON-based configuration file where I will try to keep everything configurable, so that jSona also fits your needs.


It would be great if someone want to join me in development. Here you can download a current version of jSona,