JavaFX 12 GridView
See original GitHub issueHello! I have problems with the GridView on JavaFX 12 and Java 12. I just migrated from Java 8 to 12. If I am commenting out, everything is fine. I already found issues in you bitbucket, but they seemt to be closed and solved. Is there anything I could do wrong?
Exception in thread "JavaFX Application Thread" java.lang.reflect.InaccessibleObjectException: Unable to make field private final javafx.scene.control.skin.VirtualFlow javafx.scene.control.skin.VirtualContainerBase.flow accessible: module javafx.controls does not "opens javafx.scene.control.skin" to unnamed module @1a21d23b
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:341)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:281)
at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:176)
at java.base/java.lang.reflect.Field.setAccessible(Field.java:170)
at impl.org.controlsfx.ReflectionUtils.getVirtualFlow(ReflectionUtils.java:157)
at impl.org.controlsfx.skin.GridViewSkin.<init>(GridViewSkin.java:52)
at org.controlsfx.control.GridView.createDefaultSkin(GridView.java:142)
at javafx.controls/javafx.scene.control.Control.doProcessCSS(Control.java:897)
at javafx.controls/javafx.scene.control.Control.access$000(Control.java:83)
at javafx.controls/javafx.scene.control.Control$1.doProcessCSS(Control.java:89)
at javafx.controls/com.sun.javafx.scene.control.ControlHelper.processCSSImpl(ControlHelper.java:67)
at javafx.graphics/com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:145)
at javafx.graphics/javafx.scene.Parent.doProcessCSS(Parent.java:1397)
at javafx.graphics/javafx.scene.Parent.access$400(Parent.java:79)
at javafx.graphics/javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
at javafx.graphics/com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
at javafx.graphics/com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:145)
at javafx.graphics/javafx.scene.Parent.doProcessCSS(Parent.java:1397)
at javafx.graphics/javafx.scene.Parent.access$400(Parent.java:79)
at javafx.graphics/javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
at javafx.graphics/com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
at javafx.graphics/com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:145)
at javafx.graphics/javafx.scene.Node.processCSS(Node.java:9529)
at javafx.graphics/javafx.scene.Scene.doCSSPass(Scene.java:569)
at javafx.graphics/javafx.scene.Scene.preferredSize(Scene.java:1745)
at javafx.graphics/javafx.scene.Scene$2.preferredSize(Scene.java:393)
at javafx.graphics/com.sun.javafx.scene.SceneHelper.preferredSize(SceneHelper.java:66)
at javafx.graphics/javafx.stage.Window$12.invalidated(Window.java:1086)
at javafx.base/javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
at javafx.base/javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:145)
at javafx.graphics/javafx.stage.Window.setShowing(Window.java:1174)
at javafx.graphics/javafx.stage.Window.show(Window.java:1189)
at javafx.graphics/javafx.stage.Stage.show(Stage.java:273)
at javafx.graphics/javafx.stage.Stage.showAndWait(Stage.java:463)
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (3 by maintainers)
Top Results From Across the Web
JavaFX 12 Tutorial - 14 - GridPanes w - YouTube
In this episode, I show you how to create and use gridpanes in JavaFX 12. The GridPane is another layout pane object for...
Read more >How to implement a GridView style in javafx - Stack Overflow
I really do not know how to get about this implementation, i.e. fetching a data which will be dynamic and represented with the...
Read more >GridView (ControlsFX Project 8.0.6_20) - Javadoc Extreme
Collect natural resources and expand your empire. Each piece of land is a unique NFT. Will you find a rare piece of land?...
Read more >Working With Layouts in JavaFX: Using Built-in Layout Panes
Use layout panes to easily manage the user interface for your JavaFX application. ... Figure 1-12 shows an anchor pane with the grid...
Read more >GridView (ControlsFX Project 11.0.3)
Property for specifying how much spacing there is between each cell in a column (i.e.. Properties inherited from class javafx.scene.control.Control.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nope! That property sets the JVM arg for the Gradle process.
To set JVM args for your application, use jvmArgs.
Great answer. Could you provide it for maven btw