Question: In my java program I am having issues with my crossed line output, it doesn't go all the way across to form a cross image.
In my java program I am having issues with my crossed line output, it doesn't go all the way across to form a cross image. Line line new Linex x x x ;
Line line new Linex x;
linesetStrokeColorGREEN;
linesetStrokeWidth;
linesetStrokeColorGREEN;
linesetStrokeWidth;
StackPane lines new StackPane;
lines.getChildrenaddAllline line;
GridPane pane new GridPane;
pane.setPaddingnew Insets;
pane.addline;
pane.addline;
pane.addangle;
pane.addc;
Scene scene new Scenepane;
primaryStage.setTitleShapes in Grid";
primaryStage.setScenescene;
primaryStage.show;
primaryStage.setResizablefalse;
public static void mainString args
launchargs;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
