Java Processing 3 PAplet in JavaFX scene as FXNode

前端 未结 4 1049
小鲜肉
小鲜肉 2021-01-13 14:16

I am trying to make a program for visual analyzing Fractal sets. I choose Processing 3 as drawing library and JavaFX for the user interface. There are some screenshots of th

4条回答
  •  旧时难觅i
    2021-01-13 14:31

    To make it work, you have to launch your Processing sketch, not the JavaFX Application.

    Simply do

    PApplet.main(Launcher.class.getName());
    

    Also thanks so much for your help! I had NO idea how I should use the JavaFX stuff that comes with Processing!

提交回复
热议问题