theCodingInterface

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

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.

Bridging Node.js and Python with PyNode to Predict Home Prices

In this article I demonstrate a novel Node.js package named PyNode used to invoke Python code within a Node.js application and, more importantly, receive Python return types in the calling Node.js application. To facilitate demonstrating this awesomeness I use the popular scikit-learn Python library to load the included California Housing dataset from the 1990 US Census and build a Linear Regression model for predicting home values within a Express.js application.

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

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.

Navigation

theCodingInterface