JavaFX in Action: picmodo-teasers (updated 19-04-2013)

I have uploaded two teasers of my current spare-time project “picmodo” (it’s yet another network based picture DB). The GUI shown in the clips is in german language, but i18n is supported of course ;-). Picmodo – Login: Picmodo – Login failed: Picmodo – Upload new pictures: Picmodo – Export Pictures: Picmodo – Search Pictures:

JavaFX on Raspberry Pi: runfxapp

Running JavaFX Apps on RaspberryPi with JDK 8 needs still some command “overhead” like: sudo /opt/jdk1.8.0/bin/java -Djavafx.platform=eglfb -cp \ /opt/jdk1.8.0/jre/lib/jfxrt.jar:/tmp/JavaFXSamples/Stopwatch.jar \ stopwatch.MainScreen To start apps more conveniently I wrote a small bash-skript: runfxapp (as shell-skript code is ugly I skip posting it here ;-)) Copy this skript to somewhere on $PATH (e.g. /usr/local/bin) and set… Continue Reading JavaFX on Raspberry Pi: runfxapp

Using ‘Font Awesome’ Icons with JavaFX [Update 2]

Refer for latest updates here. For a more convenient usage I have created a Maven Artifact of my little project (should be available via Maven Central). Dependency to WebJar Maven-Repo is included, thus you just have to add: <dependency> <groupId>de.jensd</groupId> <artifactId>fontawesomefx</artifactId> <version>1.0.0</version> </dependency>

Using ‘Font Awesome’ Icons with JavaFX [Update 1]

Refer for latest updates here. I have revisited the code and made some improvements: Get the complete source code here: https://bitbucket.org/Jerady/fontawesomefx Now using WebJar Maven-Repo instead of “/font/awesome.ttf” <dependency> <groupId>org.webjars</groupId> <artifactId>font-awesome</artifactId> <version>3.0.0</version> </dependency> Absolute Path to Awesome Font is now /META-INF/resources/webjars/font-awesome/3.0.0/font/fontawesome-webfont.ttf AwesomeIcons class is now an Character-Enum instead of static Strings mappings public enum AwesomeIcons… Continue Reading Using ‘Font Awesome’ Icons with JavaFX [Update 1]

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

Fluent API code formatting in Netbeans 7.2 beta

I always missed a way to format Fluent API code blocks in Netbeans properly. In Netbeans 7.1 at last there was an option to set the wrapping for chained method calls via: Preferences: Editor -> Language: Java -> Category: Wrapping Netbeans 7.1 Netbeans 7.2 Netbeans 7.2 now offers an additional option to choose whether the wrapping should take place:

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