Tag Archives: FX

FXGraphics2D


FXGraphics2D is an implementation of Java2D’s Graphics2D API that targets a JavaFX canvas. It has been built for use with Orson Charts and JFreeChart, but will be generally useful for any code that uses the Graphics2D API. Original Post>>

MQTT.fx 0.0.11 released


MQTT.fx is a MQTT Client written in Java based on Eclipse PahoRead more>>

JavaFX applications with Eclipse 4: e (fx) clipse 1.1.0 available


A bridge between JavaFX and the Eclipse IDE builds the Austrian developer Tom Schindl with the e-Tooling project (fx) clipse, especially in the version 1.1.0 has been released. Read more>>

JAVAFX TIP 15: LISTVIEW AUTOSCROLLING


JAVAFX TIP 15: LISTVIEW AUTOSCROLLING

I recently had to implement autoscrolling functionality for FlexGanttFX and thought that my solution might be useful for others. You find the basic concepts of it in the listing below. The main idea is that a background thread is used to adjust the pixel location of the virtual flow node used by the list view. The thread starts when a drag over is detected “close” to the top or bottom edges. “Close” is defined by a proximity variable.

This code can obviously be improved by using a property for the proximity value and the types “Task” and “Service” for the threading work.

New theme for JavaFX 8


New theme for JavaFX 8

We have been working recently on a new theme for JavaFX 8. The current theme for FX, named Caspian, is showing its age and we wanted to take the opportunity to give JavaFX a face lift for 8. Because folks have created custom controls and designs for their app, we needed to make sure that selecting the theme was something that you could opt-out of. We will be providing both API and command line switches in 8 to allow you to specify caspian specifically. If you do nothing, you’ll get Modena, our new theme, by default. Without further ado this is what it looks like: