Questions tagged [gluon]

Use for general questions related to Gluon that don't fit into more specific tags such as gluon-mobile or gluon-desktop, and also other tags like javafxports or scenebuilder.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

java fx 21 and gulon do not work, erron in start [duplicate]

I started making a project in Java FX 21, added it to the environment variables on Windows 11, and also imported Gulon, but not Gulon, the functions of Java FX 21 do not work, but only the base works. ...
ThisMeow's user avatar
0 votes
0 answers
22 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 ...
Luiz Filipe's user avatar
0 votes
0 answers
34 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 ...
gym's user avatar
  • 1
1 vote
0 answers
37 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 ...
Hallvard Trætteberg's user avatar
0 votes
1 answer
40 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/...
Riad Xploz's user avatar
0 votes
0 answers
35 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>...
Nguyễn Văn Minh's user avatar
0 votes
0 answers
26 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). ...
gym's user avatar
  • 1
0 votes
0 answers
36 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 ...
Tadeu Gois's user avatar
0 votes
0 answers
59 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 ...
Byron's user avatar
  • 317
0 votes
0 answers
40 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: ....
heno's user avatar
  • 1
0 votes
0 answers
28 views

CSS Analyzer @SceneBuilder version 20 does not show changes coming from stylesheet\inline styles (it shows only the defaults)

I have been working long time with scene builder 8.5.0 (due to my project being on java 8). I recently tried to work with scene builder 20. Everything works well except for the CSS analyzer pane (...
aviad cohen's user avatar
0 votes
0 answers
19 views

Error in training YOLOv3 model with custom dataset using Gluon CV: TBlob.get_with_shape mismatch

I'm currently training a YOLOv3 model on a custom dataset using the script from Gluon CV's GitHub repository. Here's the link to the script: https://github.com/dmlc/gluon-cv/blob/master/scripts/...
courage's user avatar
  • 816
0 votes
2 answers
157 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 ...
Martin's user avatar
  • 35
0 votes
0 answers
25 views

GluonFX:build failing seemingly due to issues with bytebuddy and Spring

I'm building a mobile app with GluonFX and Spring with Maven. Upon trying to build the app, I'm running into the issues below, leading to the build failing. I'm using the x64 native tools command line ...
mjsick1's user avatar
  • 31
1 vote
0 answers
22 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:...
mjsick1's user avatar
  • 31
0 votes
0 answers
106 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/...
heno's user avatar
  • 1
0 votes
0 answers
83 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 ...
Martin's user avatar
  • 35
0 votes
0 answers
24 views

Gluon Sample HelloFX Build Error (no ld.lld)

I am trying to run: ~/gluon-samples/HelloFX$mvn -Pandroid gluonfx:build on a virtual Ubuntu 22.0.4 on Windows 10 Virtualbox, after failing on WSL2. Installed in Ubuntu: Maven 3.8.8 GraalVM 22.1.0.1 ...
Grace Sawyer's user avatar
0 votes
0 answers
43 views

How to use com.gluonhq.ignite-spring?

I found a video on YouTube Paul Anderson & Gail Anderson - Front and Center! JavaFX with Spring Boot. I have cloned their repository https://github.com/gailasgteach/JavaFX-SpringBoot-Samples. I ...
Martin's user avatar
  • 35
0 votes
1 answer
100 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 ...
Basil Bourque's user avatar
0 votes
1 answer
284 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....
Graham Seed's user avatar
0 votes
0 answers
16 views

How can I use FXML to specify the position of an overridden Node in JavaFX?

I need to have a Gluon Glisten View object as the root node of any given Scene, because I'm using an AppManager and its addViewFactory method to control my application flow. I'd like to use Scene ...
A. P. Roblem's user avatar
1 vote
0 answers
40 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 ...
Efendo's user avatar
  • 11
1 vote
0 answers
124 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)...
horvoje's user avatar
  • 703
0 votes
3 answers
64 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 ...
SickerDude43's user avatar
0 votes
0 answers
44 views

Is UDP/TCP network communications supported in Gluon Mobile?

I couldn't find anything in the documentation for Gluon-Mobile or on StackOverflow. But, does Gluon Mobile allow me to do custom UDP/TCP network communications? I have a standard desktop JavaFX ...
Tim's user avatar
  • 109
0 votes
0 answers
12 views

Numerical Prediction with MX-Gluon ends up in a loop

I'm trying to build a small MLP Network to predict some numerical values. The input are 6 different paramaters and the result should be a prediction of the target value. The MLP consists of 2 hidden ...
SickerDude43's user avatar
0 votes
0 answers
11 views

Class weight order in SoftmaxCrossEntropyLoss in MXNET

I have an unbalanced dataset of pictures. Simplifying a little bit, let's say the dataset is composed by three different categories {"A", "B", "C"}, which contain ...
Dave's user avatar
  • 349
1 vote
0 answers
52 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 ...
Terry Vitanza's user avatar
0 votes
0 answers
78 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 ...
Julian Pfeiffer's user avatar
1 vote
1 answer
642 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 ...
Max Teflon's user avatar
  • 1,770
0 votes
0 answers
131 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 ...
yossi's user avatar
  • 1
0 votes
0 answers
110 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 ...
François's user avatar
0 votes
0 answers
174 views

JavaFX app integrated with Spring Boot and Gluon Ignite does not load FX runtime components

I am trying to run a sample application that integrates JavaFX and Spring Boot, working with Intellij and Gradle. To achieve the integration I am testing Gluon Ignite using their Spring Boot Sample ...
CT95's user avatar
  • 107
0 votes
0 answers
74 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 ...
Sion S's user avatar
  • 1
0 votes
1 answer
170 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: &...
MilckShake Beans's user avatar
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 ...
Kevin's user avatar
  • 9
1 vote
0 answers
224 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 ...
kevin guirado's user avatar
0 votes
1 answer
203 views

How to create a GluonTS dataset from Stock/Equity, OHLCV, price data

I have been struggling with getting a GluonTS dataset from a .csv file populated with OHLCV equity data. Does anyone know the best way to get a dataset that is compatible with GluonTS and HuggingFace ...
Harrison H's user avatar
0 votes
0 answers
184 views

JavaFX WebView on openJDK-11 not able to load website with ADFS NTLM auto-login

While trying to run a website with SSO and auto-login feature using ADFS and NTLM on JavaFX WebView I am unable to load it as the application pop-up shows a blank screen. This happens when I try to ...
Puneet's user avatar
  • 1
1 vote
3 answers
222 views

Scene Builder, Library is empty

I have a problem with Scene Builder. I probably did something wrong because in the left side menu, the library which contains the java element is empty and I didn't find how to fill it back. Now I ...
Kvothe's user avatar
  • 11
1 vote
0 answers
3k views

Where to specify namespace when packaging an android app through gluon

When trying to package an android app using Gluon (mvn gluonfx:package -Pandroid) I face the following error: Execution failed for task ':app:generateDebugBuildConfig'. Error while evaluating ...
Argentum's user avatar
0 votes
0 answers
67 views

Is it OK to use Java SDK 19 with graalvm-svm-java17-windows-gluon-22.1.0.1-Final.zip in a Gloun project on a windows x64 OS?

I have followed the instructions at https://docs.gluonhq.com/#_introduction and developed a Gluon - SingleViewProject using the IntelliJ IDE 2022 with Gluon Plugin installed. I selected openjdk 19 as ...
Fred Little's user avatar
0 votes
1 answer
173 views

Switching views/fxml on gluon Application

I am developing a gluon application with JavaFX but i can't understand very well how to switch scene (or view?) by clicking a button. If i click the button "load from file" in the image ...
Luigi Daddario's user avatar
1 vote
1 answer
55 views

Is the source for gluon's netbeans project templates (Gluon-Glisten-Afterburner, Gluon-Multiview-FXML, Gluon-Multiview) available?

Being a noob with JavaFX, and having fallen in love with Gluon's 4 Netbeans project templates, I hope to make some minor changes. However, there are no avenues for making slight modifications to the ...
TheGeeko61's user avatar
0 votes
0 answers
80 views

Gluon Google Play android target api fails

On uploading .aab to Google Play, it fails because the latest API is not being used. Google wants to see API 31 not 30. I thought this was starting in November but apparently the requirement is ...
Chris Powell's user avatar
0 votes
0 answers
78 views

iOS Deploying exception on runtime : java.lang.UnsatisfiedLinkError: no webview in java.library.path

i have a JavaFX application and i am trying to make it run on iOS it is running well in Android. Linux, Mac. but I just get a white screen on the iOS-simulator i am not using java-modules. i got this ...
SamFX's user avatar
  • 19
0 votes
2 answers
126 views

JavaFX Webview on Mobile does not receive any TouchEvent

I am trying to do a simple Demo about using JavaFX on Mobile using GluonFX Pluging & Attche. The App, Will be Simply WebApp. The Main problem now is When the user click on any text input field, ...
SamFX's user avatar
  • 19
1 vote
1 answer
346 views

JavaFX Menu Bar Steals Focus

I have an app where, when the user is typing in a text input, typing a normal letter causes the menu bar to activate (drop down its sub-menu) instead of filling the input as it should. The easiest way ...
user3810626's user avatar
  • 6,998
1 vote
1 answer
185 views

Undefined reference at graalvm link task with gluonfx-maven-plugin

I've searched the web hours about my question and testing many things without finding any solution. I have a JavaFX application handled by maven and developped under VSCode. I want it to be available ...
Vincent's user avatar
  • 35

1
2 3 4 5
15