Home » Tag Archives: JavaFX

Tag Archives: JavaFX

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 »

Introducing HawkFX

javafx-logo

As I said before, I started playing with JRubyFX. And for me learning something new best works with a use case, so I started creating an inventory browser for Hawkular. Why JRubyFX? Let’s first start with “What is JRubyFX” anyway? JRubyFX is JavaFX brought to the Ruby world by the means of JRuby. This means that you can implement UIs ...

Read More »

A JavaFX HelloWorld using Java 9’s Project Jigsaw in 60 seconds

javafx-logo

By now you’ve probably have heard of Java 9’s new module system a.k.a. project Jigsaw. If you don’t know about Java 9’s new module system, you should visit Mark Reinhold’s paper on The State of the Module System. Also, you should check out @nipafx Nicolai Parlog’s excellent blog at http://blog.codefx.org There he goes into great detail about Java 9’s new module system and ...

Read More »

Button of Choice: Use ToggleButtons as RadioButtons

javafx-logo

For MQTT.fx I wanted to use ToggleButtons to e.g. choose the de coding of a MQTT Message or the QoS Level: I found out that in context of a ToggleGroup ToggleButtons behave different than RadioButtons in terms of selection/deselection: unlike RadioButtons ToggleButtons can still be set to unselected state. A RadioButton extends ToggleButton and overrides fire() (which is invoked when a user gesture indicates that an ...

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 »

Shadow Fields vs. Property Accessors Interface Round 3

javafx-logo

This is round 3 of the Shadow Fields vs Property Accessors Interface. If you are new and not sure what the fuss is about please check out my previous post or my first post on the topic of saving memory when developing JavaFX applications. As a Java developer my main concern is having a good balance between performance, memory usage and lowering boilerplate ...

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 Round 2

javafx-logo

If you guys haven’t noticed a (light-hearted) showdown between Dirk Lemmerman and me, let me quickly mention how we got to this point. For starters, Dirk created a JavaFX tip 23: “Save Memory Shadow Fields for Properties” to help application developers save memory when using JavaFX Properties. Pretty impressive knowing that you can save memory when objects aren’t needing to use JavaFX Property objects. While ...

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 Tips to Save Memory! Shadow Fields for Properties and Observables

javafx-logo

In the world of JavaFX the Properties API allows UI developers to bind values to UI controls. This capability is surprisingly easy, however when object models use properties too often an application can quickly run out of memory. I usually will write two separate objects such as a pojo class and a presentation model object. This technique is often used in Swing based ...

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