A code-first book for JavaFX developers

CSS alone won't make JavaFX look modern. Skins will.

Build your own controls with the Control–Skin architecture using Skinning JavaFX Applications, a pure JavaFX book.

Complete Control / Skin / CSS source for every control in the book.

ThemeManager.java
// three-tier tokens, resolved live
public class ThemeManager {
  public void applyTheme(Theme theme) {
    scene.getStylesheets().setAll(theme.stylesheet());
  }
}

What you'll learn

From restyling a button to shipping your own control library

The first half skins the controls JavaFX already ships. The second half designs original controls for components the platform doesn't provide.

01

Control–Skin architecture

The skeleton behind every custom control: how a skin talks to its control through listeners and bindings, and how layout and CSS fit in.

02

Themes without rebuilding the UI

Switch between light and dark at runtime without reediting your CSS files by hand.

03

Fluent materials and window chrome

Dissect Mica, Acrylic and Reveal, build your own backdrop blur, and replace the OS title bar with a professional custom stage.

Contents

Ten chapters, built from one ambitious idea

For the developer who found that no existing control does quite what the project needs, and that some default controls resist restyling from CSS alone.

01

The Basic Skeleton

The architecture behind controls and skins, and the minimum you need before building on top of it.

02

Updating Properties

How a skin communicates with its control using ChangeListeners or bindings.

03Optional

Bounds

The three kinds of layout bounds JavaFX provides.

04Optional

Regions and Layouts

How layoutChildren() works, how to clip nodes and some methods you need.

05Essential

Styling from CSS

A dense chapter on customizing controls with your own CSS rules.

06

Switching Modes

Light and dark mode without rebuilding the entire interface.

07Optional

Virtualization

How virtualization works in ListView, TableView and TreeView.

08Optional

Microinteractions

A small animation library with standard and premium effects for your skins.

09Mandatory

Fluent

Mica, Acrylic and Reveal dissected, plus your own backdrop-blur mechanism.

10

Custom Stages

Professional window chrome from scratch, instead of what the OS gives you.

The companion library

Vitra, the UI library for your projects

Do you want a project with a real UI? Vitra is a UI library with more than 10 controls and skins for modern JavaFX applications.

Code editorGanttKanban board CalendarFluent: Mica, Acrylic, Reveal Custom windows and dialogsDonut chart Radial gaugeToast notificationsWizard stepper ScrollPane, ListView, TableView and TreeView skinsGlassmorphism Bezier area chartRack Collapsible sidebar Color harmony pickerFilter chip barFile explorer Breadcrumb barDashboard gridSearchable combo box
Individual

For freelancers and independent developers.

$299 USD
  • 1 developer
  • All controls included
  • Complete source code
  • License agreement by email
Choose this plan
Team

For small development teams working on the same product.

$499 USD
  • 2-5 developers
  • All controls included
  • Complete source code
  • 2 months of updates
  • License agreement by email
Choose this plan
Company

For organizations with several teams or projects.

$1.499 USD
  • Unlimited developers in one organization
  • All controls included
  • Complete source code
  • 4 months of updates
  • License agreement by email
Choose this plan

Vitra is licensed under an EULA: you read and accept it, then receive the source code.

Pricing

Start with the book, the library, or both

Learn the architecture, use ready-made controls, or do both: the book explains how Vitra-style controls are made. Vitra offers you some controls that are not covered in the book.

Learn it

The book

$79.99 USD

Ten chapters on Control–Skin, theming, Fluent materials and custom stages, with source code in the book.

Get the book
Use it

Vitra

$299+ USD

More than 10 controls and skins, delivered as source code under an EULA, in the plan that fits your project.

Compare plans
Learn it and use it

Book + Vitra

$378.99+ USD

Understand how every control works, then drop the finished ones into your application.

Get both

The interaction library

Celestia, the micro-interaction library for your projects

Do you want common and premium micro-interactions for your projects? Celestia is a library that contains more than 30 modern micro-iteractions.

Individual

For freelancers and independent developers.

$149 USD
  • 1 developer
  • All micro-interactions included
  • Complete source code
  • License agreement by email
Choose this plan
Team

For small development teams working on the same product.

$249 USD
  • 2-5 developers
  • All micro-interactions included
  • Complete source code
  • 1 months of updates
  • License agreement by email
Choose this plan
Company

For organizations with several teams or projects.

$699 USD
  • Up to 5 developers
  • All micro-interactions included
  • Complete source code
  • 2 months of updates
  • License agreement by email
Choose this plan

Celestia is licensed under an EULA: you read and accept it, then receive the source code.

Testimonials

Read by developers shipping real desktop apps

The chapter on runtime theme switching alone paid for the book. I finally understand why my old stylesheet swaps used to flicker.
Elena Kovač · JavaFX consultant
I went in for the skinning chapters and stayed for the custom Control/Skin architecture. My internal dashboard controls are unrecognizable now.
Marcus Reyes · Desktop tooling lead
Clear, code-first, and honest about what's optional. The Fluent chapter on Mica and Acrylic is the best explanation I've found anywhere.
Priya Nandan · Indie developer

The author

Libán Bande González

Software developer, UX/UI designer and technical author with a degree in Computer Science. He builds a suite of JavaFX and SQL Server desktop business applications, and this book comes from years of shipping them.

Because he lives in Cuba, payment options are limited. You can send a WhatsApp message with your request and get information for a payment agreement.

FAQ

What level of JavaFX experience do I need?

You should be comfortable building a JavaFX application: laying out scenes, wiring up FXML or plain Java, and applying basic CSS. The book picks up where the reference documentation stops.

Does it include the full source code?

Yes. Every control ships with its complete Control, Skin and CSS source, not fragments, so you can drop it into your project and adapt it.

Skinning only, or building new controls too?

Both. The first half restyles the controls JavaFX already ships; the second half designs original controls: architecture, skin and CSS.

Make JavaFX look like it's from the future

Ten chapters and a library you can call your own.

Get the book