Stage

The Stage object it the highest level container in JavaFX. It can be thought of as being the window in which everything else is contained.

Some if the most commonly used Stage variable include:

title The text displayed in the application window's title.
resizable This determines whether the window is resizable by the user. (Default: true)
width The width of the window. (See: Setting window size)
height The height of the window. (See: Setting window size)
x The horizontal position of the window from the left side of the screen.
y The vertical position of the window from the top of the screen.
scene The Scene to be displayed in the window.

import javafx.stage.Stage;
import javafx.scene.Scene;
 
Stage {
    title: "My JavaFX App"
    width: 300
    height: 200
    resizable: false
    x: 200
    y: 200
    scene: Scene {    }
}