Question: Q.1) Write a JavaFX program that displays a rectangle with your student I.D. Number as shown below. Draw a Rectangle. And set the circles filling
Q.1) Write a JavaFX program that displays a rectangle with your student I.D. Number as shown below.
- Draw a Rectangle. And set the circles filling color to Orange
- Type your Student I.D. Number inside the circle
- Set the title of the stage to your Name
- Rotate the rectangle 21 degree to the left side
- Use the classes imported from Javafx below:
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.StackPane;
import javafx.scene.control.Label;
import javafx.scene.paint.Color;
import javafx.stage.Stage;
Salah 123
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
