Application Basis

  • Beitrags-Autor:
  • Beitrags-Kategorie:JavaFX

Group root = new Group(); Scene scene = new Scene(root, 600, 480, Color.BLACK); Rectangle rect = new Rectangle(10, 10, 50, 50); rect.setFill(Color.TRANSPARENT); rect.setStroke(Color.RED); rect.setStrokeWidth(1); root.getChildren().addAll(rect); primaryStage.setTitle("ZeigeLayout"); primaryStage.setScene(scene); primaryStage.show(); Canvas canvas…

WeiterlesenApplication Basis