Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Why is my java shapes file not showing my crossed lines: Line line 1 1 = new Line ( - x / 1 . 5

Why is my java shapes file not showing my crossed lines: Line line11= new Line(-x /1.5,-x /2.5, x /1.5,-x /2.5);
Line line12= new Line(0,-x,0, x);
line11.setStroke(Color.GREEN);
line11.setStrokeWidth(6);
line12.setStroke(Color.GREEN);
line12.setStrokeWidth(6);
StackPane lines = new StackPane();
GridPane pane = new GridPane();
pane.setPadding(new Insets(50,50,50,50));
pane.add(lines,2,2);
pane.add(angle,0,0);
pane.add(c,1,1);
pane.add(new Group(),2,2);
Scene scene = new Scene(pane);
primaryStage.setTitle("Shapes in Grid");
primaryStage.setScene(scene);
primaryStage.show();
primaryStage.setResizable(false);
}

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_2

Step: 3

blur-text-image_3

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

Learning PostgreSQL

Authors: Salahaldin Juba, Achim Vannahme, Andrey Volkov

1st Edition

178398919X, 9781783989195

More Books

Students also viewed these Databases questions

Question

Why do new ventures often turn to consultants for advice?

Answered: 1 week ago

Question

What is the basis for Security Concerns in Cloud Computing?

Answered: 1 week ago

Question

Describe the three main Cloud Computing Environments.

Answered: 1 week ago