Questions tagged [gluon-desktop]

Use this tags for questions about the Gluon Desktop library and Gluon Ignite

See the Tag Info on for more information.

Find out more about Gluon Ignite here.

54 questions
1
vote
1 answer

Does gluon support Xpath in IOS

I tried running a gluon project that uses XML to initialize the project. Seeing the following error when running the application on an IOS device: Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for…
Vaishnavi
  • 55
  • 6
1
vote
1 answer

Event handlling in JavaFX Port for Android

I am using a mouse event handler on my java fx solitaire application. It was design for desktop only. Then I discover JavaFx Port. So I tried to test if my application will work on mobile device. It display good like the image below. My problem is…
Yves Gonzaga
  • 1,038
  • 1
  • 16
  • 40
1
vote
1 answer

Couldn't run JavaFX Port Application on Genymotion with flash ARM Translation

I am having problem running my JavaFX Port Application on Genymotion. When I try to install it on the emulator. It says "Failure [INSTALL_FAILED_CPU_ABI_INCOMPATIBLE]". So I go into flashing it with ARM Trnaslation. Finally I successfully installed…
Yves Gonzaga
  • 1,038
  • 1
  • 16
  • 40
1
vote
1 answer

Where is the message for the defaut ParticleApplication?

I am creating a Gluon ParticleApplication and i need to change the exit message and/or exit procedure, where is it or what should i override? Thanks for the answer.
1
vote
1 answer

How can I use dependency injection in a Gluon Desktop app?

Does anyone know if there is any easy way to use dependency injection within the FXML controllers of a Gluon Desktop (ParticleApplication) app? There is already @Inject used for things like public class HomeController { @Inject…
user2211907
1
vote
2 answers

Gluon build as single Jar

I'd like to build my Gluon Project as a SINGLE executable jar file. Currently there is a startup script included with a bin folder and so on. Is it possible to build a single jar? Or can I include an own gradle task that accomplishes this?
LucaZ
  • 87
  • 8
1
vote
0 answers

Understanding Gluon Ignite Lambda Idiom

I set up a JavaFX Gluon Project using the Eclipse Gluon plugin and tried to get Gluon Ignite (Gluon Ignite; basically a wrapper framework to be able to use CDI in JavaFX) with Dagger going. In an tutorial I found the following Java 8 Lambda…
MannikJ
  • 301
  • 1
  • 15
0
votes
1 answer

Property "gluonfx.target" not defined in example Gluon JavaFX app starers

I am trying to use the Gluon Desktop tools to make a JavaFX app. I have tried creating a new Maven-driven app in both of these ways: The Gluon Start web app The Gluon - Single View Project new project template provided by the Gluon plugin for…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
0
votes
0 answers

Gluon Mobile app, Project fails linking with Undefined symbols for architecture x86_64 error

I am incrementally moving a functional JavaFX desktop GUI to Gluon and GRAALVM 23.x.x using JavaFX 20. We are using Maven as our build tool and we are using the latest version of macOS / xCode. The app looks and works great on Desktop when built…
0
votes
1 answer

Problem: Gluon javafx project successfully generates .exe and .msi without errors, but program fails to run

When generated or installed .exe file double clicked, hour glass icon shows breifly and disappears and nothing happens, but should display window with user interface. Able to execute mvn gluonfx:build, compile, link, and package only from x64 Native…
0
votes
0 answers

Gluon FX: Native Window app fails: no glib-lite in java.library.path

My goal is to create a Windows ".exe" file for my JavaFX Pac-Man game, see https://github.com/armin-reichert/pacman-javafx. I followed the instructions from the Gluon website https://docs.gluonhq.com/#platforms_windows and installed all the required…
0
votes
0 answers

Error occurred during initialization of VM agent library failed to init: native-image-agent

after running application using runagent and it throws error agent library failed to init: native-image-agent native-image-agent: Error: com.oracle.svm.core.util.json.JSONParserException: first level of document must be an array of serialization…
leksyde
  • 45
  • 6
0
votes
1 answer

StorageService.create() Always Returns Empty

I'm developing a Gluon application on a Windows 10 machine using IntelliJ Ultimate. Whenever I call: StorageService.create() I get an Optional.empty returned to me. In the application output, I…
Tim Gustafson
  • 177
  • 1
  • 11
0
votes
0 answers

mvn gluon:runagent failure - Unknown Attribute 'queryAllDeclaredMethods' .. in definition of class ..HelloController

trying to get my first native build working. (using Windows 10, jdk 17, javafx17, gluon 1.0.9, gluon graalvm (graalvm-svm-windows-gluon-21.2.0-dev.zip)) I am able to run mvn gluonfx:run (and click on the 1 button I have in my test UI) However when I…
dano
  • 1
  • 6
0
votes
0 answers

windows 10 Native Build error - Native-image building on Windows currently only supports target architecture: AMD64 (x86 unsupported)

I'm testing out a new project, and trying to use Gluon for this. ATM I am building on windows 10 with AMD Ryzen 7. Following the instructions from: https://docs.gluonhq.com/#platforms_windows When I attempt to build:mvn gluonfx:build it fails…
dano
  • 1
  • 6