title: How to resize Javafx undecorated stage?
body: <p>I am new to JavaFX technology, currently I am working on javafx application, in which there is undecorated stage,I am able to <strong>move it on screen using below code</strong> , but I am <strong>not able to resize this window from bottom right corner</strong>, can anyone suggest me the solution.</p>
  
  <pre><code>public void loadPanel(final Stage stage) {
  
          myPane.setOnMousePressed(new EventHandler&lt;MouseEvent&gt;() {
              @Override
              public void handle(MouseEvent event) {
                  xOffset = event.getSceneX();
                  yOffset = event.getSceneY();
              }
          });
          myPane.setOnMouseDragged(new EventHandler&lt;MouseEvent&gt;() {
              @Override
              public void handle(MouseEvent event) {
                  stage.setX(event.getScreenX() - xOffset);
                  stage.setY(event.getScreenY() - yOffset);
              }
          });
  
  
          this.stage = stage;
          this.stage.initStyle(StageStyle.UNDECORATED);
          this.stage.setScene(scene);
          this.stage.show();
      }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/iOyin.png" alt="enter image description here"></p>