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;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!