Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.StackPane;
import javafx.scene.paint.Color;
import javafx.scene.shape.Circle;
import javafx.stage.Stage;
public class DrawCircle extends Application {
public void start(Stage stage) {
StackPane root = new StackPane(new Circle(150, Color.DARKKHAKI));
stage.setScene(new Scene(root, 500, 400));;
public static void main(String... args) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.