/*
  Write a program that enables the user to specify the location and size of
  the rectangles and displays whether two rectangles intersect. Enable the user
  to point the mouse inside a rectangle and drag it. As the rectangle is being
  dragged, the rectangle's center coordinates in the text field are updated.
*/

import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.scene.layout.VBox;
import javafx.scene.layout.HBox;
import javafx.scene.layout.GridPane;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.control.Button;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;
import javafx.geometry.Pos;
import javafx.geometry.Insets;
import javafx.geometry.Point2D;

public class E16_09 extends Application {
  @Override
  public void start(Stage primaryStage) {
    RectangleAnalysisPane pane = new RectangleAnalysisPane();

    Scene scene = new Scene(pane);
    primaryStage.setTitle("E16_08");
    primaryStage.setScene(scene);
    primaryStage.setResizable(false);
    primaryStage.show();
  }

  public static void main(String[] args) {
    launch(args);
  }
}

@@ -408,415 +408,8 @@
 ene;
-%0Aimport javafx.scene.layout.Pane;%0Aimport javafx.scene.layout.VBox;%0Aimport javafx.scene.layout.HBox;%0Aimport javafx.scene.layout.GridPane;%0Aimport javafx.scene.control.Label;%0Aimport javafx.scene.control.TextField;%0Aimport javafx.scene.control.Button;%0Aimport javafx.scene.paint.Color;%0Aimport javafx.scene.shape.Rectangle;%0Aimport javafx.geometry.Pos;%0Aimport javafx.geometry.Insets;%0Aimport javafx.geometry.Point2D;
 %0A%0Apu

Remove unnecessary import statements