
JavaFX: How to Customize Custom Controls
21 mins
Once you’ve decided extend Region to create a custom control, there are some basic things you should do to make your new control look professional and unified. Here’s how to do that.

There is nothing special about the standard Nodes included with JavaFX (mostly). If you look at their source code, you’ll see that they are mostly just plain old Java, and don’t tend to rely on hidden packages that you cannot access yourself. This means that you can create your own Nodes and they won’t be second-class citizens to the standard Nodes. You can use virtually all of the same techniques that the authors of JavaFX used to create professional screen elements that work they way that you want.





