Question: Question 1 : How do you display a text, line, rectangle, circle, ellipse, arc, polygon, and polyline? Question 2 : Write code fragments to display

Question 1: How do you display a text, line, rectangle, circle, ellipse, arc, polygon, and polyline?
Question 2: Write code fragments to display a string rotated 45 degrees in the center of the pane.
Question 3: What is wrong in the following code?public void start(Stage primaryStage){// Create a polygon and place it in the sceneScene scene = new Scene(new Polygon(),400,400);primaryStage.setScene(scene); // Place the scene in the stageprimaryStage.show(); // Display the stage}
Answer each question simple, thanks

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 Programming Questions!