729 questions
0
votes
0
answers
16
views
Scene 3D objects throw exception on Android deivces [duplicate]
I posted a thread some time ago about Scene 3D objects causing a error when they try to create the shader on Android. At the time I was advised to recompile the project using the new Gluon library ...
0
votes
0
answers
120
views
javafx not working on raspberry 64 bit - Unable to open DISPLAY
I want to move from 32 to 64bit Raspbian lite without desktop (because of the new JDK versions > 19 which are only available for 64 bit linux arm).
I have a small javafx app I developed when javafx ...
1
vote
0
answers
49
views
Gluon Javafx textfield cannot input Chinese/Japanese/Korean characters on IOS
I am developing an iOS application using Gluon Mobile but have encountered a problem. When a TextField gains focus, the keyboard pops up, but this keyboard is different from the one configured in the ...
0
votes
1
answer
120
views
Could not find artifact - Firebase Messaging dependency for Maven
I am currently developing and Android app using GluonFX, I'm trying to setup push notifications while following the documentation that recommends to use FireBase. Unfortunately when I try to add the ...
0
votes
0
answers
19
views
Gluon and JNA/JNR [duplicate]
I used JNA with GLUON before and had no problems. Everything worked.
I tried replacing JNA with JNR.
When I run mvn gluonfx:runagent , JNR runs successfully.
However, after mvn clean gluonfx:build ...
0
votes
0
answers
45
views
Setting the Background Color of a Gluon RichTextArea
Gluon have added a RichTextArea class:
Gluon's RichTextArea
Does anyone know how you set the background colour? By default it is white but I'd like it to be the same light grey as other JavaFX ...
0
votes
0
answers
66
views
Gluon JavaFX Embedded support on Rockchip rk3588?
I've been trying to get the libgluon_drm.so driver from GluonFX to display JavaFX apps direct to DRM on a Mekotronics R58x, a SBC which has a rk3588 chip. My R58x is running Armbian 23.08.0-trunk on ...
0
votes
0
answers
37
views
How do I integrate StorageService for a Java program using GluonHQ maps repository?
So, I have implemented GluonHQ maps into my project and I want to also implement the StorageService to load those maps offline, anyway I can't do that since I need some sort of ServiceFactory for the ...
0
votes
0
answers
17
views
How build submodel gluon project with maven?
There , i have a project named meeting ,and there is two submodel module named meeting-common and meeting-gui , i tried use gluon-cli to build project , but it occues error ,the stack is following
[...
0
votes
0
answers
30
views
How to implement Attach service that contain a 3rd-party library gor iOS
for now, Gluon-attach service for Push notification is using Firebase library for handling the push notification on Android, and this handling is done natively on iOS.
I want to add Firebase library ...
14
votes
1
answer
512
views
StringIndexOutOfBoundException occurs when typing anything into a JavaFX TextField in both JDK21 and JDK8, Windows11
When I run this simple code snippet of a JavaFX TextField element, I type something into the text field, and then StringIndexOutOfBoundsException is thrown periodically.
versions
JDK: 21.0.0, 21.0.2, ...
2
votes
0
answers
96
views
JavaFX 3D API does not work on all Android deivces
I have been compiling a JavaFX app for Android using the JavaFXPorts plugin for a while. I have managed to resolve all the dependencies and compiled them into an APK. This APK will install on ...
3
votes
0
answers
54
views
My SceneBuilder system font is too hard to read
My SceneBuilder suddenly changed the system/default font to an italic font that is to hard for me to read. How can I fix it? This happened when I click on Set Gluon Theme, but when I go back to Modena ...
0
votes
1
answer
144
views
Gluon build problem - specifies unknown module javafx.graphics
My project was building fine then I wanted to bring dockable window and did https://github.com/ozkanpakdil/DockFX and used it in https://github.com/ozkanpakdil/swaggerific I could not find what made ...
0
votes
0
answers
20
views
how to set resizability to false using Scene Builder - Gluon?
Every time I go to Pane Layout > Extras, I find a checkbox to set resizability to true or false but it cannot be accessed for some reason. So, can you find me any solutions for this problem?
This ...
0
votes
0
answers
48
views
Gluon Mobile (JavaFX): Failed Controller ClassNotFoundException
I'm trying to create a Gluon example based on this repository https://github.com/gluonhq/hello-gluon-ci, the problem I'm having is that it works perfectly in IntelliJ, but when I want to export it to ...
0
votes
1
answer
143
views
GluonFX on android: Push notification are not working when the app is closed
I integrated the push notification service from "attach" according to the documentation. and the push notification sending is handled via Firebase and Spring-boot for sending the ...
0
votes
0
answers
59
views
APK compiled with JavaFXPorts does not work
I have been trying to get a sample HelloWorld JavaFX app to work on Android for a while. I have managed to get past all the dependency issues etc and have compile the project into an APK with both ...
0
votes
0
answers
51
views
Configure Dynamic Proxies in GluonFx
I have a server application based on GluonFX. This one uses jetty server. When I run native build I get such exception:
Caused by: com.oracle.svm.core.jdk.UnsupportedFeatureError: Proxy
class defined ...
2
votes
1
answer
118
views
Canvas to base64 Image without awt/swing classes
I am trying for some time now to convert a Canvas into a base64 image String, so I am able to convert it back later to show on the screen or store it in a file.
The problem is, all samples I found so ...
0
votes
0
answers
47
views
GluonFx server socket communication
I have JavaFX application that based on GluonFX framework.
It creates simple Server Socket:
public class Application {
private static final int SOCKET_PORT = 40009;
public static void main(String[] ...
1
vote
0
answers
88
views
Can't find bundle for base name com.mysql.cj.LocalizedErrorMessages locale pt_BR
I'm trying to generate a repetition of my JavaFX application, as it uses some Maven dependencies, I'm using the Gluonfx library to generate the repetition, as it can "encapsulate" all ...
2
votes
0
answers
232
views
gluonfx:run results in "module javafx.graphics does not "opens javafx.scene" to unnamed module"
I am in the process of upgrading an old (JDK 8) JavaFX application to JDK 17 plus all of its dependencies. So far the process went okay, but now I am stuck on something that I can't seem to figure out....
0
votes
0
answers
61
views
GraalVM called by gluonfx:compile get stucked at "Garbage collector: Serial GC"
Problem:
I did mvn -Pandroid gluonfx:compile in a project and it follow the steps properly, but when GraalVM is called and it gets to "Garbage collector: Serial GC", it simply get stucked ...
0
votes
0
answers
79
views
Gluon Maven tool chain builds app, but Gradle tool chain does not (fails linking)
I have been using the Gluon tool chain to compile a JavaFX app into native images for both Mac OS X (Sonoma, M1) and iOS.
It all works great. Got it working end to end. Great tool chain!
But ...
I ...
2
votes
0
answers
165
views
Use newer Java version than 17 with Graal native image
I'm making a Sokoban app with JavaFx and Gluon's tools (see https://github.com/hallvard/halban), and currently targeting Android. I would like to use Java 19, 20 or 21, but it seems Java 17 is the ...
-1
votes
1
answer
51
views
i cant use scene builder when i execute my code
I got a problem that I absolutely can't solve on my own because I have just started using JAVA FX.
help me please.
the error
javafx.fxml.LoadException:
/C:/Users/DELL/eclipse-workspace/RiadFxProject/...
0
votes
0
answers
74
views
Lost characters when typing with keyboard Vietnamese on javafx ios gluon app
Use:
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>11</maven.compiler.release>
<javafx.version>...
0
votes
0
answers
36
views
Gluon (mobile) and SPI (service provider interface)
I am experimenting using Gluon (both native and mobile) with GeoTools.
GeoTools loads object factories via the service provider interface (SPI) in Java (specifically by using META-INF/services files).
...
0
votes
0
answers
53
views
javafx.scene.control.ComboBox closes its listbox when touch and scroll list
Follow this steps on IOS or ANDROID:
1 - touch on combobox to open its listbox with many itens on list
2 - when try scroll list, its listbox closes
before open de combobox
when ty to scroll list the ...
0
votes
0
answers
118
views
JavaFX not rendering via gluonfx:nativerun on graalvm-svm-java17-linux-gluon-22.1.0.1
I am trying to use gluon's substrate graalvm native-image on Ubuntu 22.04. When you run using mvn gluonfx:run on the examples, for instance HelloFXML, none of the text is displayed, as some of our ...
0
votes
0
answers
51
views
How can I access to the style class of the title in header of Navigation Drawer?
I would like to change the text color of the title of the header using css classes but I m not able to find the selector.
I have tried many combinations like for example but It didn't work:
....
0
votes
2
answers
514
views
Gluonhq with JDBC SQLite : ClassNotFoundException: org.graalvm.nativeimage.hosted.RuntimeRe
I am using Gluonhq with JDBC in Linux.
Version info: 'GraalVM 22.1.0.1 Java 17 CE'
There are no problems with postgresql. The problems begin when I work with sqlite.
My JDBC connect:
Connection ...
1
vote
0
answers
24
views
GluonFX SceneBuilder display not matching gluonfx:run display
I'm building a mobile app with gluon FX. I'm using scenebuilder to help create my UI with FXML. However, the SceneBuilder preview UI looks very different from the UI I get when running it with gluonfx:...
0
votes
0
answers
250
views
Gluon Build for android doesnt work on linux-aarch64
I'm trying to generate a native image for Android profile using Linux with architecture aarch64 and I installed the GraalVM Version info: 'GraalVM 22.1.0 Java 17 CE' from this page https://github.com/...
0
votes
0
answers
311
views
Gluonhq with Hibernate: Could not resolve net.bytebuddy.utility.Invoker$Dispatcher for reflection configuration
I use gluon with hibernate. In the beginning I do
mvn gluonfx:runagent
The application launches, makes a request to the database and the data is displayed correctly.
Here is the command log
Then I do
...
0
votes
1
answer
275
views
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 ...
0
votes
1
answer
1k
views
JavaFX RunTime Jars / Libs
We can download the JavaFX jars for a particular version from
https://gluonhq.com/products/javafx/
Let's focus on J17 [17.0.8] and Windows. Save the SDK to a local disk and look at, say, javafx....
1
vote
0
answers
68
views
Is the Gluon JavaFX-SDK a JDK like thing
does the JFX-SDK also include the java and javac binarys? im asking since in netbeans the Build native executable option is grayed out. If yes, do i have to move it to the Java Virtual Machines Folder ...
1
vote
0
answers
325
views
dlopen failed: cannot locate symbol "JNI_OnLoad_javajpeg"
I have pretty simple desktop app written in JavaFX. The only task is to get a search term (text input box), send a request to my REST API and display results in a form of articles list (name and photo)...
0
votes
3
answers
189
views
How do I denormalize L2-Normalized Data in MXNet?
I normalized my Data with the built in L2Normalization from MXNet ndarray.
Since I want to know the actual value of the prediction I have to denormalize the data to analyze it properly. For ...
1
vote
0
answers
67
views
No APK file after a succesful build
I made my very first JavaFX application with IntelliJ and I'm trying to build an APK file to "export" in on an Android virtual device.
I'm using gradle and ./gradlew build is succesful but ...
0
votes
0
answers
92
views
Use GluonFX mobile behind a corporate proxy
I'm trying to build the GluonFX example project "HelloFX" as mentioned here: https://docs.gluonhq.com/#platforms_android under section 5.4.4.
The main problem is, my computer runs behind a ...
1
vote
1
answer
765
views
Installing gluonnlp results in an ImportError undefined symbol _PyGen_Send
I hope this is not an incredibly dumb issue, but googling did not produce any useable results.
I installed gluonnlp 0.10.0 using pip on a Ubuntu 22.04.1 LTS server under Python 3.10.6.
When I try to ...
0
votes
0
answers
180
views
Unexpected error running gluonfx nativerun target
I am failing to run a native desktop build on a macOS (M2), command:
mvn gluonfx:nativerun
I am using the HelloFx example from the gluon samples project, although have the same issue with independent ...
0
votes
0
answers
305
views
no download of Monocle SDK on linux x64
I would like to use monocle with linux, for headless use in build system, but I don't see any way to get the linux-monocle version for versions above 17.0.6
Is it just forgotten? broken? or is there ...
0
votes
0
answers
105
views
gluon mobile iOS application localization - Japanese characters garbled
I am working on an application with both English and Japanese language support. When I run the app from IntelliJ IDEA on my Mac, both languages display without problem. However, after installing on my ...
0
votes
1
answer
248
views
Gluon plugin fails to compile on Window intellij
I know that this is basicly the same as this but I followed all the advice from the answer and it doesnt work for me... When trying to do anything that isn't - gluonfx:run I get the following error:
&...
0
votes
0
answers
36
views
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException: How to i fix it? [duplicate]
Error All
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException: Cannot invoke "javafx.scene.control.Label.setText(String)" because "this.as" is ...
1
vote
1
answer
486
views
Gluon mobile "Missing CAP cache" when building for Android
I'm testing the gluon mobile library with a basic template project provided with the Gluon plugin for IntelliJ.
The sample app run without any problem but when building for a native app on Android, I ...