theCodingInterface

Providing quality software engineering content in the form of tutorials, applications, services, and commentary suited for developers.

Posts about JavaFX

JavaFX with Gradle, Eclipse and, Scene Builder on OpenJDK11: Project Setup

The web is a preferred choice for software due to the ubiquity and accessibility of browsers but, exceptions exist necessitating the need for a quality desktop app platform such as the need to lockdown data to a few geographically close computers or desire to restrict internet connectivity from a particular app. Surprisingly, this can be common for high-tech fields like science and medicine which rely on the exceptional Java platform and JavaFX framework for quality desktop software.

JavaFX with Gradle, Eclipse, Scene Builder and OpenJDK 11: Java Coded Components

In this second article I will be building out the Random Number generator app described in the opening blog post to give a gentle introduction of the JavaFX framework. For this article I will be forgoing the use of FXML views and the SceneBuilder design tool to give the reader a taste of how a Java code only approach is done. In the next post I will refactor using SceneBuilder and FXML view files to contrast this approach.

By Adam McQuistan on 07/31/2019

JavaFX with Gradle, Eclipse, Scene Builder and OpenJDK 11: Refactor with FXML and Scene Builder

In this final article of an introductory series on building desktop apps using JavaFX with Gradle, Eclipse, and Scene Builder I refactor the previously built random number app using FXML along with the amazing Scene Builder design tool from Gluon. JavaFX's FXML views provide an excellent way to separate out UI presentation from the behavior and logic coded into controllers and models. When paired with Scene Builder the experience translates into efficient prototyping and full on design of UIs.

How To Build JavaFX Dialogs and Alerts

In this How To article I demonstrate some of the different ways that JavaFX dialogs and alerts are built and controlled. As a learning and exploration aid the code samples in this article have been integrated into a larger JavaFX application, JavaFX Dialog Explorer, that demonstrates usability of the various dialogs and alerts discussed as well as sources the various parts of this article's code snippets along with the official JavaFX 11 documentation using the WebView component.

By Adam McQuistan on 08/12/2019

A Java Web Scraping App with Jsoup and JavaFX

The web has been an entropic explosion of data onto the world and, in recent years it has been shown that enormous value can be gleaned from even seaminly innocuous text data such as the blog post you're reading now. In this article I demonstrate how to use the Jsoup Java library to fetch and parse text data from web pages paired with simple query and display functionality wrapped in a JavaFX desktop app, named ScraperFX, running on OpenJDK 12.

Navigation

theCodingInterface