Sitemap
A list of all the posts and pages found on this site. For you robots out there is an XML version available for digesting as well.
Pages
Page not found. Your pixels are in another canvas.
A first look at the Bash shell and the most important things you need to know about it.
What you need to know about directories and listing files.
PragmaticCoding is all about … pragmatic coding! Writing code that gets the job done and is easy to read, understand, maintain and enhance.
A guide to show you just information to get you going with Linux, or to manage your new Raspberry Pi.
What you need to know about process, resources and management of them.
How to get started.
Things you need to know about users, groups and permissions.
PragmaticCoding is all about … pragmatic coding! Writing code that gets the job done and is easy to read, understand, maintain and enhance.
PragmaticCoding is all about … pragmatic coding! Writing code that gets the job done and is easy to read, understand, maintain and enhance.
Posts
This article contains all of the information you need to get started with cascading stylesheets in JavaFX.
How to handle image animation with Sprites and scrolling backgrounds
“Hey you jobs! Get off my FXAT!” Learn how to deal with the JavaFX Application Thread - How to get your background jobs onto their own threads the right way, and how process the results back on the FXAT.
Custom binding classes aren’t used that often, but understanding them is the key to understanding how to use the Bindings library builder methods.
The best way to structure an application is to separate the presentation of your data from the logic of your application. That can be hard to do. But not if you take an approach where you configure your screen elements, put them in the layout and then discard any reference to them.
Let’s look at Image and ImageView. How they relate to each other, and how to use them.
A look at how Optional works, and how it isn’t really about Null values - at least not if you were doing it right before Optional.
Another game based project. This time to see how to build an application with the main UI made of a “hex map”, commonly used in war gaming and RPG’s.
Maybe you’ve figured out how to build a working GUI that looks good. Now, how do you connect it to the rest of the world and make it do something?
ChangeListener or InvalidationListener, which is right kind of listener to use?
The original Wordle is JavaScript in a browser, here’s an implementation of it in Reactive JavaFX written in Kotlin.
Pseudo Classes are the best way to handle on/off state changes in a Node in JavaFX. But it’s very badly explained in the JavaDocs and hard to understand. This article should clear that up.
Everything you need to know about Events
Let’s look at Buttons.How to set them up and style them, how to use them, and things to look out for.
Stand-ups, Retrospectives, Sprints, Scrum Masters. Is it just bureaucratic nonsense that gets in the way of good programmers doing their thing? It shouldn’t be.
Kotlin has been described as, “The language that Java would have been if it had been designed 25 years later”. It’s starting to pick up popularity, and has had a boost from being endorsed by Google for Android development.But you’re not an Android developer, so should you learn, and use, Kotlin?
An approach to implementing the JavaFX Property “bean” structure for observable objects in an idiomatic Kotlin fashion.
I’ve always advised that Scene Builder and FXML are a waste of time, and that you should just write your screens in Java code. It’s easier to build, it’s easier to customize, easier to maintain, and much, much easier to do really sophisticated things. But how do you start?
Comments in code are supposed to help other programmers understand your code so that they can build on it, improve it and, sometimes, fix it. Are the comments that you’re leaving in your code helping anyone to do that?
How much code does it take to build a complete Hangman game in JavaFX?It turns out … Not much!
Is the Single-Threaded JavaFX GUI a Limitation?
PropertyValueFactory is an obsolete convenience method designed to eliminate boilerplate. We don’t don’t need it any more now that we have Lambda expressions.
There’s a lot of ways that software development projects can fail, or partially fail. Some of these happen when the users don’t understand as much as you think they do about what you’re building, how it will look and how it will work.
Model-View-Controller is generally accepted as a good way to structure an application with a user interface. Since JavaFX implements Reactive programming there’s a natural way to incorporate MVC into a JavaFX application. However, it doesn’t seem to be widely documented and there’s little evide...
In Part 2, we’ll build a filter and converter which will handle decimal data input with a fixed number of decimal places.
JavaFX contains powerful tools to turn simple TextFields into specialized entry fields for any kind of data you can think of.
MineSweeper! Everyone’s favourite time-waster Windows game. Implemented in JavaFX showing how the reactive nature of JavaFX can be used with MVC to create a game.
Stop treating your JavaFX controls as data and passing them global EventHandlers.