Home » Author Archives: Dirk Lemmermann

Author Archives: Dirk Lemmermann

JavaFX Real-World Apps: SkedPal

javafx-logo

A new entry in the “Real World Applications” series. This time it is SkedPal, an application for managing a busy person’s life intelligently. I have been consulting the SkedPal team in matters related to JavaFX and also when they made the decision to start using my CalendarFX framework for their calendar requirements. Below you can see a couple of screenshots ...

Read More »

JavaFX Missing Features Survey: CSS

javafx-logo

In the last post of the Missing Features Survey series I said that this post would be about missing features in CSS and FXML. Now it turns out that the survey submissions did not contain any valid FXML issues. So I will focus on CSS only. These are the CSS features that were reported missing: Full CSS support – some properties ...

Read More »

New CalendarFX View: MonthGridView!

javafx-logo

Me and my team have recently begun work on a new view for CalendarFX with the initial goal to display a whole year in vertical columns. The name of the view is MonthGridView. As usual the goal has changed slightly while coding. The view is now capable of displaying any number of months with extra months added in front or ...

Read More »

Shadow Fields vs. Property Accessor Interface

javafx-logo

Carl Dea recently followed up on a blog post of mine called Save Memory! Use Shadow Fields for Properties. In his blog he suggested the use of an interface called “Property Accessor” to eliminate the heavy use of boilerplate code that is needed in order to use  shadow fields. Carl also mentioned that he hasn’t tested his approach with a ...

Read More »

JavaFX Tip 23: Save Memory! Shadow Fields for Properties

javafx-logo

Properties and property bindings introduced in Java 8 are extremely useful programming concepts. They are especially useful when you are developing user interfaces. In fact they are so useful that developers have fallen victim to the idea that everything should be a property instead of a primitive. Unfortunately they easily forget that properties such as SimpleLongProperty are much bigger objects than standard types such ...

Read More »

JavaFX Missing Features Survey: Table View

javafx-logo

The TableView (and TreeTableView) of JavaFX has won the price for being the control that was mentioned the most in my recent “JavaFX Missing Features” survey and also in many follow-up discussions (including and especially the guys in our Zurich JavaFX Meetup group). I guess one of the reasons is the simple fact that almost every application needs a table ...

Read More »

JavaFX: TouchGesture Memory Leak?

javafx-logo

In one of my projects I was fighting with a memory leak the last couple of days (yes … “couple”) and I came to the conclusion that there might be an issue related to touch / scroll gestures. In the sample below I have two buttons. The first one creates a list view with one thousand rows, the second one ...

Read More »

JavaFX Tip 22: Autosize (Tree) Table Columns

javafx-logo

One of the first things mentioned as a “missing feature” in the JavaFX “Missing Features Survey” was the ability to auto-resize columns in tables / tree tables. It is correct that there is no public API for it, but when you pay close attention then you will notice that there must be code for doing this somewhere inside JavaFX, because the ...

Read More »

JavaFX is Here to Stay!

javafx-logo

The last week has seen some discussion on the web related to the future of JavaFX. Many people got the impression that JavaFX will be put on ice by Oracle. This was primarily caused by a blog post written by Shai Almog (Codename One) called “Should Oracle Spring Clean JavaFX”. It was  “inspired” by a blog that I had written a little bit ...

Read More »

When to use JavaFX instead of HTML

javafx-logo

The one question that JavaFX aficionados like myself are facing over and over again is the question when (or why) to use JavaFX instead of HTML (5). Here are my two cents on it: You should use JavaFX if …. … you are interested in robustness / quality. JavaFX is Java! You will be able to implement your entire application with the same language / ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials