Skip to content
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

The library has been deprecated, no longer supported for newer versions of java? #1244

Open
HenriqueVS600 opened this issue Jul 7, 2022 · 3 comments

Comments

@HenriqueVS600
Copy link

I would like to see it updated because it is the best javafx library

@louhy
Copy link

louhy commented Aug 28, 2022

Considering that I use parts of it right now within Java 17 I would not agree with that statement. However you will need to mess around with JVM parameters. There are some issues in this GitHub which talk about problems people have had, and some proposed solutions.

For example I need these in my case.

--add-exports=javafx.controls/com.sun.javafx.scene.control.behavior=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
--add-exports=javafx.base/com.sun.javafx.binding=ALL-UNNAMED
--add-exports=javafx.graphics/com.sun.javafx.stage=ALL-UNNAMED
--add-exports=javafx.base/com.sun.javafx.event=ALL-UNNAMED
--add-exports=javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED

But it'll vary depending on your needs, you need to examine the errors carefully.

Basically "Jigsaw" (Java 9+ Module System) and other later changes destroyed the simplicity of using JavaFX that we had with Java 8 and before, so now we need to jump through a ton of hoops, because [reasons].

@ctoabidmaqbool
Copy link

org.burningwave.core.assembler.StaticComponentContainer.Modules.exportAllToAll();

One can totally disable module system in java. Hence jFoenix will works as expected. With module system there are couple of issues exists which takes time and efforts to fix it!

@SkrrtNick
Copy link

I would like to see it updated because it is the best javafx library

It'd be great if it could updated for reliability - reverting to an older version of scenebuilder isn't ideal after all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants