11/*********************************************************************************
22* (Create four fans) Write a program that places four fans in a GridPane with *
3- * two rows and two columns, as shown in Figure 14.45b. *
3+ * two rows and two columns *
44*********************************************************************************/
55import javafx.application.Application;
66import javafx.stage.Stage;
1414import javafx.scene.paint.Color;
1515import javafx.geometry.Insets;
1616
17- public class Exercise_14_09 extends Application {
18- @ Override // Override the start method in the Application class
17+ public classcreatefourfans extends Application {
18+ // Override the start method in the Application class
1919public void start(Stage primaryStage) {
2020// Create a GridPane and set its properties
2121GridPane gridPane = new GridPane();
@@ -42,7 +42,7 @@ public void start(Stage primaryStage) {
4242
4343// Create a scene and place in in the stage
4444Scene scene = new Scene(gridPane);
45- primaryStage .setTitle ("Exercise_14_09 " );// Set the stage title
45+ primaryStage.setTitle("createfourfans "); // Set the stage title
4646primaryStage.setScene(scene); // Place the scene in the stage
4747primaryStage.show(); // Display the stage
4848}
@@ -69,4 +69,4 @@ private Circle getCircle() {
6969c.setFill(Color.WHITE);
7070return c;
7171}
72- }
72+ }