Created
April 19, 2015 15:06
-
-
Save darylwong/de580103485b1ea2ff8a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 { | |
@Override | |
public void start(Stage stage) { | |
StackPane root = new StackPane(new Circle(150, Color.DARKKHAKI)); | |
stage.setScene(new Scene(root, 500, 400)); | |
stage.show(); | |
} | |
public static void main(String... args) { | |
launch(args); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment