Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

javafx.scene.layout.Pane;import javafx.scene.shape.Polygon;import javafx.scene.text.Text;import this is the code. import javafx.application.Application; import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.layout.Pane; import javafx.scene.shape.Polygon; import javafx.scene.text.Text; import javafx.scene.paint.Color; public class HollywoodStar extends

 javafx.scene.layout.Pane;import javafx.scene.shape.Polygon;import javafx.scene.text.Text;import

student submitted image, transcription available below

this is the code.

import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.scene.shape.Polygon;
import javafx.scene.text.Text;
import javafx.scene.paint.Color;

public class HollywoodStar extends Application
{
public static void main(String[] args)
{
launch(args);
}

@Override
public void start(Stage primaryStage)
{
// Constants for the scene size
final double SCENE_WIDTH = 100.0;
final double SCENE_HEIGHT = 100.0;

// Constants for the drawing.
final double X1 = 50;
final double Y1 = 1;
final double X2 = 20;
final double Y2 = 91;
final double X3 = 97;
final double Y3 = 35;
final double X4 = 2;
final double Y4 = 35;
final double X5 = 79;
final double Y5 = 91;
final double TEXT_X = 28;
final double TEXT_Y = 50;

}
}
 

AutoSave OFF IC6_instructions-Saved Home Insert Draw Design Layout References Mailings Review View Tell me Share Comments Times New... 12 v A A Aa v P T Paste BI Uab x A DA AaBbCcDdE Normal AaBbCcDdE AaBbCcDc AaBbCcDdE. AaBb( No Spacing Heading 1 Heading 2 Title Styles Pane Dictate Sensitivity Programming Challenge number 3, Hollywood Star, page 995 in the textbook. Download the starter file and use it to put your code in. It already has all of the imports and variables that you will need for the vertices and for setting the size of the scene. It should look like this: Jasmine Page 1 of 1 52 words English (United States) Focus + 150%

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Managers and the Legal Environment Strategies for the 21st Century

Authors: Constance E Bagley, Diane W Savage

6th Edition

978-1439033814, 1439033811, 324582048, 978-0324582048

More Books

Students also viewed these Programming questions

Question

Explain in detail why the sequence (11.43) converges non-uniformly.

Answered: 1 week ago