<spanclass="comment"> * Click </span><spanclass="ST0">nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt</span><spanclass="comment"> to change this license</span>
<spanclass="comment"> * Click </span><spanclass="ST0">nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java</span><spanclass="comment"> to edit this template</span>
Pane pane = <spanclass="literal">new</span> Pane(); <spanclass="comment">// Create a pane object</span>
Scene scene = <spanclass="literal">new</span> Scene(pane, <spanclass="number">3</span><spanclass="number">00</span>, <spanclass="number">2</span><spanclass="number">00</span>); <spanclass="comment">// Create a scene object</span>
primaryStage.setScene(scene); <spanclass="comment">// Set the stage scene to the scene object</span>
primaryStage.show(); <spanclass="comment">// Make the window display on the screen</span>
Rectangle r = <spanclass="literal">new</span> Rectangle(<spanclass="number">3</span><spanclass="number">0</span>, <spanclass="number">3</span><spanclass="number">0</span>, <spanclass="number">8</span><spanclass="number">8</span>, <spanclass="number">4</span><spanclass="number">4</span>); <spanclass="comment">// Crate a rectangle object with these dimentions.</span>