diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index 37174cceb..0b0892732 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -2092,12 +2092,12 @@ public class PApplet implements PConstants { } } catch (ClassNotFoundException cnfe) { -// if (cnfe.getMessage().indexOf("processing.opengl.PGraphicsOpenGL") != -1) { -// throw new RuntimeException(openglError + -// " (The library .jar file is missing.)"); -// } else { + // Clarify the error mesage for less confusion on 4.x + if (renderer.equals(FX2D)) { + renderer = "JavaFX"; + } if (external) { - throw new RuntimeException("You need to use \"Import Library\" " + + throw new RuntimeException("Please use Sketch \u2192 Import Library " + "to add " + renderer + " to your sketch."); } else { throw new RuntimeException("The " + renderer + diff --git a/todo.txt b/todo.txt index 32a3072cc..7fc533262 100755 --- a/todo.txt +++ b/todo.txt @@ -71,7 +71,9 @@ X fix modules path warning for Tools in the PDE X "WARNING: Unsupported JavaFX configuration" when running Tools that use JavaFX X we were probably spared the warnings because the older JARs were hanging around X update modules path when exporting application -_ lots more cleanup to do in javafx/build.xml +X You need to use "Import Library" to add processing.javafx.PGraphicsJavaFX +o automatically import JavaFX if FX2D is in sketch? or tell user? +X concerned about auto-import being too unreliable major font cleanup X JDK fonts have been removed; fonts folder too? (not seeing it in the JDK) @@ -95,8 +97,6 @@ X i.e. all the things that rely on preferences can be inited separately (later for next release -_ You need to use "Import Library" to add processing.javafx.PGraphicsJavaFX -_ automatically import JavaFX if FX2D is in sketch? or tell user? _ Code completion not working _ https://github.com/processing/processing4/issues/177 _ confirmed not working from Sam's repo either @@ -105,6 +105,8 @@ _ change application signature from Pde3 to Pde4 (and package name as well) _ do a test to see if PApplet extends PSketch breaks libraries +_ lots more cleanup to do in javafx/build.xml + _ remove the PDE classpath from sketches _ causing it to include incomplete JFX, other misc; too confusing