r/JavaFX • u/milchshakee • Jul 27 '24
r/JavaFX • u/Imaginary_Snow4586 • Jun 04 '24
Help How to make such popup using SceneBuilder in JavaFx?
r/JavaFX • u/xdsswar • Apr 14 '24
I made this! Just for the guys who like to play with the Stage Title bar
r/JavaFX • u/Birdasaur • Feb 07 '24
I made this! Using JavaFX to visualize FFT of Biden Deep Fake
r/JavaFX • u/XeonG8 • May 21 '23
Help JavaFX on mobile.. without gluon javafx 500$ a year license?
Is it possible? Seems a bit steep just to get rid of a nag screen on a mobile app... I'm wanting to target Android/IOS with a simple app and have looked at other languages /frameworks like C# MAUI Avalonia UNO though I'm more familar with JavaFX as I've done desktop stuff before in JavaFX which ironically is pretty simple but the mobile element with JavaFx seems gatewalled and bit off putting to bother.
r/JavaFX • u/_BBA_ • May 04 '23
I made this! JavaFX CSS Support for VS Code
Hi, I published an extension do add JavaFX CSS support to VS Code.
Here the link to the extension: https://marketplace.visualstudio.com/items?itemName=bernardoamorim7.javafx-css-support-vscode
And here the link to GitHub: https://github.com/bernardoamorim7/javafx-css-support-vscode
Only JavaFX 17 is supported right now.
Hope you like it!
r/JavaFX • u/Birdasaur • Nov 28 '22
JavaFX in the wild! JavaFX 3D based Trinity visualizing decoded Brain Computer Interface signals in Hyperspace view.
r/JavaFX • u/Birdasaur • Oct 23 '22
JavaFX in the wild! Computing Convex hulls from decision manifolds in JavaFX 3D
r/JavaFX • u/mike_hearn • Aug 29 '22
Tutorial Hydraulic Conveyor packaging the AtlantaFX theme sampler: a case study
Hydraulic Conveyor is a new packaging tool with the goal of making cross-platform desktop apps as easy to distribute as web apps. To reach that goal it creates fully signed/notarized and self-updating downloads for every desktop OS, from any desktop OS, and it has deep support for JVM and JavaFX apps. You can make packaged apps from your developer laptop or a Linux CI machine and it only takes a few minutes to set up.
AtlantaFX is a new CSS theme for JavaFX that implements a modern design language using the GitHub Primer color system. It's in the early development stages but is already of a high level of quality.
What happens if we combine them? Answer: you get this download site. Grab the sampler app from there to easily track the progress of u/quizynox as the project evolves.
If you'd like to learn more about how this was made you can:
Take the Conveyor tutorial in which you'll generate a JavaFX app as an example.
Then read an article on how to adapt an existing JavaFX app.
Conveyor has a Gradle plugin that integrates with the OpenJFX Gradle plugin, but AtlantaFX uses Maven. This case study is thus a good reference for how to package apps that use non-Gradle build systems.
Let us know what you think!
r/JavaFX • u/OddEstimate1627 • Aug 01 '22
I made this! Sass and fxml with introspection and hot reload on JavaFX Mobile
r/JavaFX • u/mimoguz • May 20 '22
I made this! Custom stage colors under Windows 11
On my quest to get a proper dark theme under Windows, I put together a small library which can be used to customize window border and caption background/text colors under Windows 11. It uses JNA to make system calls, so you still get a system drawn title bar. Should be safe to include on other OSes, it just won't do anything (I tried under Manjaro Linux).
It's also possible to enable mica or acrylic effect, and the library has the required code to do so, but they don't work reliably. I'm still investigating that part.
If interested: GitHub link
r/JavaFX • u/srk- • Oct 09 '21
Can Javafx application be deployed to Android?
I am looking at options for developing mobile application, Javafx seems good for me.
However, I don't see much documentation on how we can deploy Javafx app to Android.
Any goodread links or articles or videos might help
r/JavaFX • u/AlmasB0 • Mar 26 '21
JavaFX Software: Switching Between FXML Views
r/JavaFX • u/Significant_Parking4 • Jan 08 '21
JAVAFX on M1 Chipset
Hello,
did anyone get javafx to work on the new Apple M1 Silicon? If so how?
Tried running a fxml file via maven-javafx-plugin mvn javafx:run and i got an error message, telling me something about a wrong architechture.
EDIT: This is the actual error message:
Loading library prism_es2 from resource failed: java.lang.UnsatisfiedLinkError: /Users/nico/.openjfx/cache/13/libprism_es2.dylib: dlopen(/Users/nico/.openjfx/cache/13/libprism_es2.dylib, 1): no suitable image found. Did find:
/Users/nico/.openjfx/cache/13/libprism_es2.dylib: mach-o, but wrong architecture
/Users/nico/.openjfx/cache/13/libprism_es2.dylib: mach-o, but wrong architecturejava.lang.UnsatisfiedLinkError: /Users/nico/.openjfx/cache/13/libprism_es2.dylib: dlopen(/Users/nico/.openjfx/cache/13/libprism_es2.dylib, 1): no suitable image found. Did find:
/Users/nico/.openjfx/cache/13/libprism_es2.dylib: mach-o, but wrong architecture
/Users/nico/.openjfx/cache/13/libprism_es2.dylib: mach-o, but wrong architecture
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load([ClassLoader.java:2442](https://ClassLoader.java:2442))
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary([ClassLoader.java:2498](https://ClassLoader.java:2498))
at java.base/java.lang.ClassLoader.loadLibrary0([ClassLoader.java:2694](https://ClassLoader.java:2694))
at java.base/java.lang.ClassLoader.loadLibrary([ClassLoader.java:2627](https://ClassLoader.java:2627))
at java.base/java.lang.Runtime.load0([Runtime.java:768](https://Runtime.java:768))
at java.base/java.lang.System.load([System.java:1837](https://System.java:1837))
at [javafx.graphics/com.sun.glass.utils.NativeLibLoader.installLibraryFromResource(NativeLibLoader.java:214)](https://javafx.graphics/com.sun.glass.utils.NativeLibLoader.installLibraryFromResource(NativeLibLoader.java:214))
at [javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibraryFromResource(NativeLibLoader.java:194)](https://javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibraryFromResource(NativeLibLoader.java:194))
at [javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:135)](https://javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:135))
at [javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:53)](https://javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:53))
at [javafx.graphics/com.sun.prism.es2.ES2Pipeline.lambda$static$0(ES2Pipeline.java:68)](https://javafx.graphics/com.sun.prism.es2.ES2Pipeline.lambda$static$0(ES2Pipeline.java:68))
at java.base/java.security.AccessController.doPrivileged(Native Method)
at [javafx.graphics/com.sun.prism.es2.ES2Pipeline.<clinit](https://javafx.graphics/com.sun.prism.es2.ES2Pipeline.<clinit)\>([ES2Pipeline.java:50](https://ES2Pipeline.java:50))
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName([Class.java:315](https://Class.java:315))
at [javafx.graphics/com.sun.prism.GraphicsPipeline.createPipeline(GraphicsPipeline.java:218)](https://javafx.graphics/com.sun.prism.GraphicsPipeline.createPipeline(GraphicsPipeline.java:218))
at [javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:91)](https://javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:91))
at [javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124)](https://javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124))
at java.base/java.lang.Thread.run([Thread.java:834](https://Thread.java:834))Loading library prism_sw from resource failed: java.lang.UnsatisfiedLinkError: /Users/nico/.openjfx/cache/13/libprism_sw.dylib: dlopen(/Users/nico/.openjfx/cache/13/libprism_sw.dylib, 1): no suitable image found. Did find:
/Users/nico/.openjfx/cache/13/libprism_sw.dylib: mach-o, but wrong architecture
/Users/nico/.openjfx/cache/13/libprism_sw.dylib: mach-o, but wrong architecturejava.lang.UnsatisfiedLinkError: /Users/nico/.openjfx/cache/13/libprism_sw.dylib: dlopen(/Users/nico/.openjfx/cache/13/libprism_sw.dylib, 1): no suitable image found. Did find:
/Users/nico/.openjfx/cache/13/libprism_sw.dylib: mach-o, but wrong architecture
/Users/nico/.openjfx/cache/13/libprism_sw.dylib: mach-o, but wrong architecture
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load([ClassLoader.java:2442](https://ClassLoader.java:2442))
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary([ClassLoader.java:2498](https://ClassLoader.java:2498))
at java.base/java.lang.ClassLoader.loadLibrary0([ClassLoader.java:2694](https://ClassLoader.java:2694))
at java.base/java.lang.ClassLoader.loadLibrary([ClassLoader.java:2627](https://ClassLoader.java:2627))
at java.base/java.lang.Runtime.load0([Runtime.java:768](https://Runtime.java:768))
at java.base/java.lang.System.load([System.java:1837](https://System.java:1837))
at [javafx.graphics/com.sun.glass.utils.NativeLibLoader.installLibraryFromResource(NativeLibLoader.java:214)](https://javafx.graphics/com.sun.glass.utils.NativeLibLoader.installLibraryFromResource(NativeLibLoader.java:214))
at [javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibraryFromResource(NativeLibLoader.java:194)](https://javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibraryFromResource(NativeLibLoader.java:194))
at [javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:135)](https://javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:135))
at [javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:53)](https://javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:53))
at [javafx.graphics/com.sun.prism.sw.SWPipeline.lambda$static$0(SWPipeline.java:42)](https://javafx.graphics/com.sun.prism.sw.SWPipeline.lambda$static$0(SWPipeline.java:42))
at java.base/java.security.AccessController.doPrivileged(Native Method)
at [javafx.graphics/com.sun.prism.sw.SWPipeline.<clinit](https://javafx.graphics/com.sun.prism.sw.SWPipeline.<clinit)\>([SWPipeline.java:41](https://SWPipeline.java:41))
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName([Class.java:315](https://Class.java:315))
at [javafx.graphics/com.sun.prism.GraphicsPipeline.createPipeline(GraphicsPipeline.java:218)](https://javafx.graphics/com.sun.prism.GraphicsPipeline.createPipeline(GraphicsPipeline.java:218))
at [javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:91)](https://javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:91))
at [javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124)](https://javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124))
at java.base/java.lang.Thread.run([Thread.java:834](https://Thread.java:834))Graphics Device initialization failed for : es2, sw
Error initializing QuantumRenderer: no suitable pipeline found
java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
at [javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:280)](https://javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:280))
at [javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:244)](https://javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:244))
at [javafx.graphics/com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:260)](https://javafx.graphics/com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:260))
at [javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267)](https://javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267))
at [javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158)](https://javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158))
at [javafx.graphics/com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:658)](https://javafx.graphics/com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:658))
at [javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:409)](https://javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:409))
at [javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:363)](https://javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:363))
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke([NativeMethodAccessorImpl.java:62](https://NativeMethodAccessorImpl.java:62))
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke([DelegatingMethodAccessorImpl.java:43](https://DelegatingMethodAccessorImpl.java:43))
at java.base/java.lang.reflect.Method.invoke([Method.java:566](https://Method.java:566))
at java.base/sun.launcher.LauncherHelper$FXHelper.main([LauncherHelper.java:1051](https://LauncherHelper.java:1051))Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
at [javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:94)](https://javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:94))
at [javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124)](https://javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124))
at java.base/java.lang.Thread.run([Thread.java:834](https://Thread.java:834))Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke([NativeMethodAccessorImpl.java:62](https://NativeMethodAccessorImpl.java:62))
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke([DelegatingMethodAccessorImpl.java:43](https://DelegatingMethodAccessorImpl.java:43))
at java.base/java.lang.reflect.Method.invoke([Method.java:566](https://Method.java:566))
at java.base/sun.launcher.LauncherHelper$FXHelper.main([LauncherHelper.java:1051](https://LauncherHelper.java:1051))Caused by: java.lang.RuntimeException: No toolkit found
at [javafx.graphics/com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:272)](https://javafx.graphics/com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:272))
at [javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267)](https://javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267))
at [javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158)](https://javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158))
at [javafx.graphics/com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:658)](https://javafx.graphics/com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:658))
at [javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:409)](https://javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:409))
at [javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:363)](https://javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:363))
... 5 more[ERROR] Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
at org.openjfx.JavaFXBaseMojo.executeCommandLine (JavaFXBaseMojo.java:504)
at org.openjfx.JavaFXBaseMojo.executeCommandLine (JavaFXBaseMojo.java:394)
at org.openjfx.JavaFXRunMojo.execute (JavaFXRunMojo.java:100)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal([DefaultExecutor.java:404](https://DefaultExecutor.java:404))
at org.apache.commons.exec.DefaultExecutor.execute([DefaultExecutor.java:166](https://DefaultExecutor.java:166))
at org.openjfx.JavaFXBaseMojo.executeCommandLine([JavaFXBaseMojo.java:504](https://JavaFXBaseMojo.java:504))
at org.openjfx.JavaFXBaseMojo.executeCommandLine([JavaFXBaseMojo.java:394](https://JavaFXBaseMojo.java:394))
at org.openjfx.JavaFXRunMojo.execute([JavaFXRunMojo.java:100](https://JavaFXRunMojo.java:100))
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo([DefaultBuildPluginManager.java:137](https://DefaultBuildPluginManager.java:137))
at org.apache.maven.lifecycle.internal.MojoExecutor.execute([MojoExecutor.java:210](https://MojoExecutor.java:210))
at org.apache.maven.lifecycle.internal.MojoExecutor.execute([MojoExecutor.java:156](https://MojoExecutor.java:156))
at org.apache.maven.lifecycle.internal.MojoExecutor.execute([MojoExecutor.java:148](https://MojoExecutor.java:148))
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject([LifecycleModuleBuilder.java:117](https://LifecycleModuleBuilder.java:117))
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject([LifecycleModuleBuilder.java:81](https://LifecycleModuleBuilder.java:81))
at [org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build](https://org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build)([SingleThreadedBuilder.java:56](https://SingleThreadedBuilder.java:56))
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute([LifecycleStarter.java:128](https://LifecycleStarter.java:128))
at org.apache.maven.DefaultMaven.doExecute([DefaultMaven.java:305](https://DefaultMaven.java:305))
at org.apache.maven.DefaultMaven.doExecute([DefaultMaven.java:192](https://DefaultMaven.java:192))
at org.apache.maven.DefaultMaven.execute([DefaultMaven.java:105](https://DefaultMaven.java:105))
at org.apache.maven.cli.MavenCli.execute([MavenCli.java:957](https://MavenCli.java:957))
at org.apache.maven.cli.MavenCli.doMain([MavenCli.java:289](https://MavenCli.java:289))
at org.apache.maven.cli.MavenCli.main([MavenCli.java:193](https://MavenCli.java:193))
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke([NativeMethodAccessorImpl.java:62](https://NativeMethodAccessorImpl.java:62))
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke([DelegatingMethodAccessorImpl.java:43](https://DelegatingMethodAccessorImpl.java:43))
at java.base/java.lang.reflect.Method.invoke([Method.java:566](https://Method.java:566))
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced([Launcher.java:282](https://Launcher.java:282))
at org.codehaus.plexus.classworlds.launcher.Launcher.launch([Launcher.java:225](https://Launcher.java:225))
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode([Launcher.java:406](https://Launcher.java:406))
at org.codehaus.plexus.classworlds.launcher.Launcher.main([Launcher.java:347](https://Launcher.java:347))[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.045 s
[INFO] Finished at: 2021-01-08T17:58:01+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.openjfx:javafx-maven-plugin:0.0.4:run (default-cli) on project Kochbuch: Error: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
r/JavaFX • u/[deleted] • Oct 20 '20
JFX Days Online November 24th & 25th 2020
r/JavaFX • u/[deleted] • Jul 28 '20
Creating a CAD application in Java (JavaFX)
r/JavaFX • u/[deleted] • Mar 11 '20
Cool Project JavaFX Tip 32: Need Icons? Use Ikonli!
r/JavaFX • u/[deleted] • Nov 06 '19
Where can I find consistent doc about JavaFX 13?
The official doc of Oracle is very tiny:
https://docs.oracle.com/javafx/2/ => not sure it is updated,
https://openjfx.io/openjfx-docs/#introduction => very tiny,
I also wondering why the book are about JavaFX 8 and 9 and further versions seem rarely documented? Could I start with JavaFX 8 and 9 without any "disruptive change" problems?
any hint would be great,
thanks
r/JavaFX • u/mangopearapples • Dec 24 '18
Make your JavaFX stage blurred (Windows 10 acrylic)
r/JavaFX • u/john16384 • 1d ago
I made this! FX Flow 0.7.1 released, declarative UI building for JavaFX
I've released FX Flow 0.7.1, a JavaFX utility library focused on declarative UI construction and model driven state, without pulling in a full reactive framework. This release adds editable list backed domains, a ListViewBuilder a new Flex layout, decorators, and a single extensible FX entry point.
Some highlights since the 0.6.1 release:
Flex layout
The new fx-layout module adds Flex, a row/column container whose orientation can change at runtime, and supports an aligned mode in which nested rows and columns coordinate their cells like a grid.
Flex.vflex().aligned().with(
Flex.hflex().with(
FX.label().text("name"),
FX.textField()
),
Flex.hflex().with(
FX.label().text("email address"),
FX.textField()
)
);This will result in a form like layout where the two text fields are nicely aligned even though the labels are of a different length; see fx-layout/README.md for the full guide.
A single FX entry point
FX is now CoreFX.FX, combining Controls, Panes and Shapes behind one static import:
import static org.int4.fx.builders.CoreFX.FX;There also narrower Controls.CONTROLS, Panes.PANES and Shapes.SHAPES entry points available. Applications can extend CoreFX with their own default methods and expose their own FX field, allowing you to easily extend what (pre-configured) builders are available for use, for example:
public interface AppFX extends CoreFX {
default LabelBuilder header(String text) {
return label("header").text(text);
}
AppFX FX = new AppFX() {};
}Then do:
import static org.myapp.AppFX.FX;...to be able to use your own extensions while all standard builders remain available for use.
Editable, list backed domains
Domains in FX Flow are always immutable and can be freely exchanged on models. Updating a domain backed by a large list is cumbersome though: changing the valid values means building a new domain with all the values copied over.
To solve this problem, models now support a DomainSource which provides the new domain and the changes that produced it each time an editor modifies the domain.
It works like this:
// A domain and its editor:
ListEditor<String> firstNames
= Domain.of("Alice", "Bob", "Charles").editor();
// An editor is a DomainSource and models can use it:
ChoiceModel<String> selectedName = ChoiceModel.of(firstNames);
// Bind the model to a ComboBox or ListView (or both)
ListView<String> listView = FX.listView().model(selectedName).build();
ComboBox<String> comboBox = FX.comboBox().model(selectedName).build();
// Make a change to the list:
firstNames.add("Fred"); // updates listView and comboBoxAll domains are still immutable. When an item is added via the editor, a new domain is created and picked up by the choice model. The ListView and ComboBox subscribe to these changes and update only what's changed. The actual data you see is always backed by the latest immutable domain emitted by the editor.
The list domains are backed by a copy-on-write B-Tree list structure (see BTreeList ). In effect it means copying a list domain is a constant time operation, and modifying a list domain only copies small parts of its list. Very large lists can therefore back domains, and there is no additional storage needed to display them in a control (or even multiple controls) as an ObservableList bridge is provided backed by the domain's contents.
Decorators
Wrapping a node in another node -- to add scrolling or mouse resizing, for example -- usually breaks the fluent chain and forces you to keep the wrapper's visibility in sync by hand. Decorators make it one step: decorate(...) wraps the current builder in a capability-providing node and returns the wrapper's builder, so wrapper specific options stay available and the result can be decorated again:
ResizablePane pane = FX.vbox("form")
.nodes(FX.label().text("Name"), FX.textField().promptText("Name"))
.decorate(ScrollPaneDecorator.INSTANCE)
.fitToWidth()
.decorate(ResizablePaneDecorator.INSTANCE)
.build();ScrollPaneDecorator and ResizablePaneDecorator are included. Wrappers follow the visibility and managed state of their content instead of being configured independently, so they disappear when their content does. Decorator is a functional interface, so you can add decorators for your own node types.
Feedback and suggestions are welcome.
GitHub: https://github.com/int4-org/FX Release: https://github.com/int4-org/FX/releases/tag/0.7.1
r/JavaFX • u/Former_Weather_1174 • Aug 28 '26
I made this! I made a local music player
I've made a local music player based on JavaFX. Although it's still quite rudimentary, it already has all the necessary functions. I think some people might be interested in it.
Here is the link to the GitHub repository: Kimusic



