Pixel Perfect

Java, JavaFX, User Interfaces

­

September 2017

New kid on the blog: FormsFX

By |September 12th, 2017|

I am very happy to announce the immediate availability of FormsFX, a framework for (surprise!) creating forms in JavaFX. FormsFX is the result of a student project at the "Fachhochschule Nordwestschweiz" (FHNW) in Switzerland. The project was initiated and sponsored by me. I believe that the result of this project is of high quality and [...]

JavaFX Tip 28: Pretty List View

By |September 7th, 2017|

When I look at the list views on my mobile phone I always notice that they display their scrollbar (normally a vertical one) very differently than JavaFX does. The same is true for applications running on MacOS X. Below you can see a snapshot of Apple's calendar app. You will notice that the scrollbar is [...]

August 2017

JavaFX Tip 27: HiRes / Retina Icons

By |August 29th, 2017|

I recently had a lot of icons sent to me by a graphics / UX designer. It was my job to add them to a JavaFX application. Each icon was shipped in three sizes (16x16, 32x32, 64x64). The naming convention for them was like this: icon-name.png icon-name@2x.png icon-name@3x.png At first I thought that this was [...]

July 2017

JavaFX Tip 26: Go Dark – The “Darcula” Theme

By |July 3rd, 2017|

I am a big fan of IntelliJ IDEA and use it every day for the various projects I work on. One thing I like a lot is the dark theme called "Darcula". I like it because it looks cool and because of the low contrast it is better for my eyes. When you stare at [...]

June 2017

Invalid JavaFX Scroll Event Deltas?

By |June 30th, 2017|

BREAKING NEWS: this bug is now officially being tracked in the Java bug tracker. I noticed today that the delta values provided by the JavaFX ScrollEvent object seem to be invalid at the end of the scroll event cycle. The absolute value of those delta values becomes bigger again even though they should end up [...]

May 2017

JavaFX Real-World Apps: Monastery Disentis

By |May 8th, 2017|

Finally the first "JavaFX Real World Apps" post that actually covers an "app" and not an "application", meaning the first JavaFX application in this series that was designed for mobile devices and not the desktop. The application is simply called "Monastery Disentis". It was developed by cnlab in Switzerland. It can be used by visitors [...]

April 2017

Interview on jaxenter.de

By |April 13th, 2017|

I was interviewed by Hartmut Schlosser of jaxenter.de last week and this week the article was published (in German) on their website. You can find it here: https://jaxenter.de/javafx-java9-javascript-56083. The interview was embedded in the "JavaFX Sixpack" series that tries to evaluate the potential of JavaFX. Hartmut was kind enough to also include information on my two commercial JavaFX [...]

JavaOne Rockstar Award

By |April 5th, 2017|

I had already been informed a few weeks ago that I won one of the JavaOne Rockstar awards but today the award finally arrived. After planting a tree, building a house, marrying, having kids, and now this award there are probably not many achievements anymore waiting for me to unlock them. No wait .... mission accepted: [...]

March 2017

JavaFX Animation Tool

By |March 24th, 2017|

Ok, I guess it is time to let you in on a little secret. The last three months or so I worked on a private project with the goal to create a tool that would allow me to easily create animations for Java desktop applications. JavaFX contains fantastic support on the API level for doing animations [...]

JavaFX Tip 25: Use FXSampler!

By |March 2nd, 2017|

The Problem As a framework developer it is essential to have an easy way to individually test the appearance of and the interaction with each custom control. I really hate it when I first have to open five different screens before I finally get to my new control so that I can test it. Not only [...]