On Mon, 19 Oct 2026 18:29:35 GMT, Andy Goryachev <[email protected]> wrote:
>> John Hendrikx has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Add missing since tags > > modules/javafx.graphics/src/main/java/javafx/scene/image/DrawingContext.java > line 469: > >> 467: * WritableImage writableImage = new WritableImage(250,250); >> 468: * ImageView root = new ImageView(writableImage); >> 469: * Scene s = new Scene(root, 300, 300, Color.BLACK); > > the example does not compile Alright; in this case the `Scene` doesn't accept an `ImageView` as root -- even then though it won't compile without: - a class body - a method body - imports properly placed above the class (and not mixed with code) The `GraphicsContext` example won't compile either. I've reduced the snippet to its essentials and removed the imports. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1969#discussion_r4320917932
