Results sent to command line:
C:\ece538\JavaFX\Oracle\Application>java MyApp2 A B C [A, B, C]
MyApp2.java
import javafx.application.Application; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.shape.Circle; import javafx.stage.Stage; public class MyApp2 extends Application { public void start(Stage stage) { Circle circ = new Circle(40, 40, 30); Group root = new Group(circ); Scene scene = new Scene(root, 400, 300); System.out.println(getParameters().getRaw()); stage.setTitle("My JavaFX Application"); stage.setScene(scene); stage.show(); } /* static void main(String args[]) { launch(args); } */ }
Maintained by John Loomis, updated Tue Jan 30 19:21:00 2018