Skip to content

JavaFX no longer runs in Processing 4.4.1 #1052

Closed
@vsquared

Description

@vsquared

Most appropriate sub-area of Processing 4?

PDE

Processing version

4.4.1

Operating system

MacOS

Steps to reproduce this

"1. Try to run the following demo:

3."

snippet

import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;

void setup() {
  size(1, 1, FX2D);
  Stage stage = new Stage();
  stage.setTitle("Creating buttons");
  Button btn = new Button("button");
  btn.setLayoutX(70);
  btn.setLayoutY(80);
  Pane pane = new Pane();
  pane.getChildren().add(btn);
  Scene scene = new Scene(pane, 200, 200);
  stage.setScene(scene);
  stage.show();
}

Additional context

No response

Would you like to work on the issue?

Assign to someone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions