Using ‘Font Awesome’ Icons with JavaFX

Refer for latest updates here. Dave Gandy has created a incredible cool icon font called Font Awesome. These font icons perfectly fit into JavaFX Apps as: all these beautiful icons are scalable vector graphics each icon (unicode character) can be styled with css incredible lightweight (one font 249 icons) Load the “Awesome Font” Font.loadFont(App.class.getResource(“/fonts/awesome.ttf”). toExternalForm(),… Continue Reading Using ‘Font Awesome’ Icons with JavaFX

First steps with JavaFX

This tutorial will introduce Clean separation of application UI and logic Using Builders supporting Fluent API Effects Layouts Property Bindings EventHandler Abstract The Golden Ratio (Golden Mean, Golden Section) is defined as φ = (√5 + 1) / 2. Objective Create an UI to find the golden section by using a slider. Add value labels and an indicator to get… Continue Reading First steps with JavaFX

Enter the theater

Stage The User Interface in JavaFX is understood as a kind of drama or spectacle. Including a stage on which a scene is presented as the play. Parts of the scene are the actors and props. javafx.scene.Stage The application “acts” on the stage. How this stage is presented to the audience depends on where the stage is established. E.g. as part of a WebPage, on the desktop or on a tablet.… Continue Reading Enter the theater