Question
import javafx.application.application import javafx.scenes.scenes; import javafx.scenes.layout.*; import javafx.scene.paint.Color; import javafx.scene.shape.circle; import javafx.scene.text.*; import javafx.scene.control.*; ________________________________; public class TestApp extends Application { @override public void start(stage
import javafx.application.application import javafx.scenes.scenes; import javafx.scenes.layout.*; import javafx.scene.paint.Color; import javafx.scene.shape.circle; import javafx.scene.text.*; import javafx.scene.control.*; ________________________________;
public class TestApp extends Application { @override public void start(stage primaryStage) { //create a pane to hold the circle _________________________________ //create a circle and set its properties Circle circle = new Circle(); circle.setRadius(80); circle.setStroke(Color.YELLOW); circle.setfill(Color.YELLOW); ________________________________ //create a label and set its properties Label label = new Label("Java Rules!!"); lable.setFont(font.font("Time New Roman" , FontWeight.BOLD, 20)); pane.getChildern() . add (label); //create a scene and place it in the stage scene scene = new Scene(pane, 200, 200); primaryStage.setTitle("First App"); primaryStage.setScene(scene); ____________________________ } Public static void main(String[] args){ _______________________________________ } }
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started