make transparent javafx code example Example: javafx transparent background scene.setFill(Color.TRANSPARENT); stage.initStyle(StageStyle.TRANSPARENT);