by Oshan96

Oshan96 / CustomStage

A JavaFX UI framework to create fully customized undecorated windows

136 Stars 12 Forks Last release: over 2 years ago (v1.3.1) Apache License 2.0 112 Commits 7 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

CustomStage Mentioned in Awesome JavaFX

A JavaFX undecorated stage which can fully be customized

Download Licence( Total Downloads JitPack HitCount


If this project is helpful to you and love my work and feel like showing love/appreciation, would you like to buy me a coffee?
Buy Me A Coffee

An Implementation See the code in wiki at "A complete implementation"

CustomStage Implementation

Additional Tools provided (After v1.3.0)

Checkout the CustomStage Wiki for more examples and documentation.

Using CustomStage ?

  • Fork the repository and update with this readme's Projects using CustomStage section in the following format adding your project details and do a Pull Request!

ProjectName : BriefDescription

Projects using CustomStage

  • RentLio : This is a vehicle reservation system. Which is made with JavaFX and also using hibernate and RMI.


This CustomStage is a JavaFX undecorated Stage. To put it simple, CustomStage is a Window and you can add different views (FXML files) to the window (like changing the scene of the window) as you prefer. The basic problem making the Stage "Undecorated" is that you will not be able to, 1) Resize the window using mouse. 2) Lose the default action buttons. 3) Move the window (by dragging) (etc.)

So, CustomStage will get rid of all of these issues since it includes, 1) Window resizing (the ResizeHelper class is used here with minor modifications) -> ResizeHelper class 2) Default action buttons and their behaviour (close, maximize/restore, minimize) 3) Window dragging

What else?

  • Window is automatically scaled as for screen resolution
  • Very responsive
  • Apart from those, this is called CustomStage since it can be customized as you wish


  • Easy. You can get your customized Stage using the CustomStageBuilder class. This class includes all the methods you will need to customize your window.

How to use?

Starting from version 1.3.1 CustomStage releases are/will be available through JCenter and MavenCentral




  dependencies {
    compile 'lk.vivoxalabs.customstage:CustomStage:1.3.2'

Download via Jitpack (Will not be possible for releases after v1.3.1)

  • v1.3.1 CustomStage via JitPack (See the releases here :


Add jitpack as a repository

repositories {
    maven { url '' }

Add dependancy

dependencies {
    compile 'com.github.Oshan96:CustomStage:v1.3.1'


Add jitpack as a repository

Add dependancy


Or download and add as a dependancy to your project

How to use a CustomStage?


Transparent CustomStage

CustomStage with custom icons


CustomStage API Documentation can be found here : CustomStage Documentation

Any issue detected?


Feel free to post issues in "Issues" for further improvements

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.