Comments (5)
made a bit of headway:
Instead of adding the VM option: --add-exports javafx.graphics/com.sun.glass.ui=ALL-UNNAMED
using --add-exports javafx.graphics/com.sun.glass.ui=tornadofx
seems to be working
IntelliJ RunConfiguration screenshot:
g
from tornadofx.
Yes welcome to the Java module system rolls eyes.
You should probably apply these VM options via your build tool. My build gradle has this for example:
Most of them are there to make JFoenix work but I plan to replace it entirely with the newer MaterialFX.
from tornadofx.
you are using version 1.7.20, you need 2.0.0-SNAPSHOT.
1.7.20 - java8
2.0.0 - java11+
from tornadofx.
you are using version 1.7.20, you need 2.0.0-SNAPSHOT.
1.7.20 - java8 2.0.0 - java11+
Thnx for your reply.
Upgrading to 2.0.0 (SNAPSHOT) didn´t fix this problem.
Still upgrading fixed some other issues, and I'm quite happy with it.
The jvm options to loosen the module restrictions fixed the export errors.
Weird thing is
-add-exports javafx.graphics/com.sun.glass.ui=ALL-UNNAMED,
which should be more general, didnt work. Instead I had to use
--add-exports javafx.graphics/com.sun.glass.ui=tornadofx
For now I can work with that, but still makes me scratch my head....
from tornadofx.
made a bit of headway:
Instead of adding the VM option: --add-exports javafx.graphics/com.sun.glass.ui=ALL-UNNAMED
using --add-exports javafx.graphics/com.sun.glass.ui=tornadofx
seems to be working
IntelliJ RunConfiguration screenshot:
g
from tornadofx.
Related Issues (20)
- TornadoFx ClassCastException HOT 1
- Accessing nodes with less code HOT 4
- Advanced Data Controls Guide Clarification HOT 1
- Unbind TextField text property from non-String property HOT 2
- Font not loading HOT 1
- EventBus.fire does not check for listeners of superclass types HOT 1
- Set window icons for Alerts
- Hot reload doesn't work with openjdk
- a bug with toggleClass HOT 2
- TornadoFx stackpane overlapping with menubar
- How can i build a native image using tornadofx HOT 1
- Localization of german Double values
- Data Driven TreeView HOT 1
- how to use field()? | and why field() cant' be used without form()? HOT 2
- Tornadofx with Spring security
- Is this not longer maintained? HOT 8
- Looking for maintainers HOT 1
- Guilde is not available HOT 1
- Documentation does not work HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tornadofx.