New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaFX sketches don't run, throw RuntimeException #3690

JakubValtar opened this Issue Aug 21, 2015 · 0 comments


None yet
1 participant

JakubValtar commented Aug 21, 2015

void setup() {
  size(640, 360, FX2D);

void draw() {  }
java.lang.RuntimeException: Internal graphics not initialized yet
    at com.sun.javafx.font.PrismFontFactory.getSystemFontSize(
    at com.sun.javafx.font.PrismFontLoader.getSystemFontSize(
    at javafx.scene.text.Font.getDefaultSystemFontSize(
    at javafx.scene.text.Font.getDefault(
    at javafx.scene.canvas.GraphicsContext$State.init(
    at javafx.scene.canvas.GraphicsContext$State.<init>(
    at javafx.scene.canvas.GraphicsContext.<init>(
    at javafx.scene.canvas.Canvas.getGraphicsContext2D(
    at processing.javafx.PSurfaceFX.<init>(
    at processing.javafx.PGraphicsFX2D.createSurface(
    at processing.core.PApplet.initSurface(
    at processing.core.PApplet.runSketch(
    at processing.core.PApplet.main(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment