javafx opaque stage code example Example: javafx stage transparent background stage.initStyle(StageStyle.TRANSPARENT);