Home » Tag Archives: JavaFX

Tag Archives: JavaFX

JavaFX, Project Jigsaw and JEP 253

javafx-logo

So Java 9 may break your code… This is particularly likely if your project uses JavaFX because many customizations and home-made controls require the use of internal APIs. With Project Jigsaw these will be unaccessible in Java 9. Fortunately, Oracle announced JEP 253 a couple of days ago. Its goal: Define public APIs for the JavaFX UI controls and CSS functionality ...

Read More »

JavaFX Tip 18: Path Clipping

javafx-logo

I recently noticed that the PopOver control, which I committed to the ControlsFX project, does not properly clip its content. It became obvious when I was working on the accordion popover for the FlexCalendarFX framework. Whenever the last titled pane was expanded the bottom corners were no longer rounded but square. After placing a red rectangle as content to the ...

Read More »

JFXPanel and FX Platform Thread pitfalls

javafx-logo

The JFXPanel is a component to embed JavaFX content into (legacy ;-)) Swing applications. Basically it makes it very easy to combine both tookits, but there are some pitfalls to master: Both UI Toolkits are single threaded (Swing: EDT + JavaFX: FX Platform Thread). When used together you have to deal with these two threads, e.g. javafx.embed.swing.SwingFXUtils.runOnFxThread(Runnable runnable) or javafx.embed.swing.SwingFXUtils.runOnEDT(Runnable ...

Read More »

How to allow users to customize the UI

javafx-logo

Idea Take advantage of the declarative design pattern of JavafX/FXML and allow users to customize a certain view without any coding just by opening it with e.g. SceneBuilder to re-arrange the layout or add new controls or even change the style according to the users needs. The FXML file + CSS can be basically be placed whereever they are reachable ...

Read More »

Transform Your SQL Data into Charts Using jOOQ and JavaFX

javafx-logo

In the recent past, we’ve shown how Java 8 and functional programming will bring a new perspective to Java developers when it comes to functional data transformation of SQL data using jOOQ and Java 8 lambdas and Streams. Today, we take this a step further and transform the data into JavaFX XYChart.Series to produce nice-looking bar charts from our data. ...

Read More »

JavaFX List Example

java-logo

This is an example list application built using JavaFX. The app is a list of todo (to do) items. This app has functions to add, update and delete items in the list.  The list data is stored in HSQLDB relational database. The app accesses the database using JDBC (Java Database Connectivity) API. The app is packaged as an executable JAR ...

Read More »

JavaFX in the browser

javafx-logo

Lately Carl Dea and I have started a new project to bring JavaFX 8 into the browser. Today I want to introduce the first two proof-of-concepts that we created to see if this idea is feasible at all. For the impatient, here are the links to the PoCs. But be warned, startup time is horrible at this point. It can ...

Read More »

Cannot Uninstall JavaFX SceneBuilder 1.0 with JDK 8

javafx-logo

I was recently removing some of the software development applications, tools, and files I had used from an old Vista-based laptop because the people who are primarily using that laptop now have no interest in software development. As part of that effort, I tried to remove JavaFX Scene Builder 1.0, which I had installed a couple of years ago on ...

Read More »

How to get rid of focus highlighting in JavaFX

javafx-logo

Today I was asked if I know a way to get rid of the focus-highlighting of JavaFX controls (respectively buttons):                   Most posts and tips regarding this issue suggest to add: .button:focused { -fx-focus-color: transparent; } But with this style, a glow like this is still left: To get rid of this ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close