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.

Gluon is a Java technology company laser-focused on developing libraries, services, and tooling around the goal of having Java on mobile devices.

GluonFX enables Java development on Desktop, Android, iOS and Embedded devices, with the GluonFX plugins, JavaFX and GraalVM technologies, running on the JVM or as a native-image.

Gluon Mobile provides functionality for connecting to remote web services, accessing hardware specific functionality in a device-agnostic manner, and for building great looking user mobile interfaces using the latest in material design patterns.

Gluon Cloud enables easy data backup and synchronization between users, and our tools enable rapid development of applications that build upon Gluon Mobile and Gluon Cloud.

Product tags

Gluon Support

Find more about Gluon's open source and commercial projects here.

Asking a Good Question

Follow the Stack Overflow guides on asking a good question. For users to be able to help you with errors, the first step is to be able to reproduce them. For that, they need:

  • Sample code, following the MCVE convention
  • Project config: build.gradle file
  • Environment: Development OS, Mobile OS and Device.
  • Debug logs and exception stack traces.
    • On Android run adb logcat -v threadtime.
    • On iOS use Xcode->Windows->Devices to see your device logs and crash reports.
709 questions
14
votes
2 answers

How to get JavaFX and Java 11 working in IntelliJ IDEA

With the recent Java 11 release, JavaFX is no longer included in the JDK. I have an existing JavaFX project. I am interested in learning how to change it from a Java 10 project to a Java 11. I am certain I have installed Java 11 correctly, and I…
Jack J
  • 1,514
  • 3
  • 20
  • 28
8
votes
0 answers

Reducing the size of JavaFX native image app

When building a minimum JavaFX app for Windows platform using Gluon's client-maven-plugin incorporating GraalVM native image, the final exe size is approx. 60 MB. Is there something in the plugin config what can be tweaked on my side to reduce this…
Jan Tosovsky
  • 498
  • 5
  • 18
7
votes
1 answer

Creating Custom Control in Jar for Gluon Scene Builder 11.00

I want to create a custom control in an executable jar file and then use in Gluon Scene Builder 11.00. I need to know how to do this. I tried several forms but my controls not appear when import jar in Scene Builder. I am using IntelliJ Community…
7
votes
1 answer

Error: automatic module cannot be used with jlink: - Maven with JavaFX

I have selected Apache Commons IO, JSerialComm and Ini4J libraries via Maven repository. But when I try to create an image via mvn javafx:jlink I get this errors: [INFO] --- javafx-maven-plugin:0.0.2:jlink (default-cli) @ JUSBPlotter --- [WARNING]…
euraad
  • 2,467
  • 5
  • 30
  • 51
7
votes
0 answers

How to use Gluon Mobile Theme for a Desktop JavaFX Project?

In the Scene Builder I can choose for preview a JavaFX Theme called "Gluon Mobile". How can I set the Gluon Mobile theme for my desktop app by code? What I have: setUserAgentStylesheet(STYLESHEET_CASPIAN); // default theme What I…
Hugo Sartori
  • 560
  • 6
  • 21
6
votes
2 answers

AutoCompletionBinding cannot access class com.sun.javafx.event.EventHandlerManager

I have some issues with javafx and org.controlsfx.control.textfield.TextFields. I'm trying to implement a feature that would get possible user input predictions from a database so that user can only pick the "authorized" options. While working with…
6
votes
2 answers

JavaFX SceneBuilder alternative

I have been facing serious issues with Scene Builder as it seems to freeze my desktop. Are there any alternative drag and drop GUI builders for JavaFX? Something like Android Studio where you can quickly switch between "Design" and "Text" would be…
Riasat Khan
  • 63
  • 1
  • 3
6
votes
3 answers

Eclipse gluon new project does not finish

I use Eclipse 4.7 (Oxygen), portable version Android Development Tools (no version ?), with SDK Manager => SDK Tools 25.5, Android 6 and 7 (API 23, 25), Android Support Repository, SDK Platform, SDK Platform-tools Gluon plugin 2.4.0 E(fx)clipse…
5
votes
0 answers

-fx-font-weight: bold not working for Javafx 17

Recently, We shift our project Javafx8 to Javafx17. All css properties seems to be working fine but -fx-font-weight: bold not working. We are stuck on this since last two days. We have tried every possible solution But, it is not…
Saad Khan
  • 201
  • 2
  • 10
5
votes
1 answer

Predicting locally with a model trained on Sagemaker

I have trained a model on AWS SageMaker by using the built-in algorithm Semantic Segmentation. This trained model named as model.tar.gz is stored on S3. So I want to download this file from S3 and then use it to make inference on my local PC without…
min2bro
  • 4,509
  • 5
  • 29
  • 55
5
votes
2 answers

Play a video using JavaFX on Raspberry Pi

I need to run a JavaFX project on Raspberry Pi (RASPBIAN JESSIE). The project includes usage of WebView and MediaView/MediaPlayer. Since Oracle does not support JavaFX on ARM platforms, I tried JavaFX port by Gluon (JavaFX Embedded SDK 8.60.8).…
FeroG
  • 53
  • 1
  • 4
4
votes
3 answers

Is Gluon VM deprecated because of GraalVM?

I am new to the realm of Gluon, but I know how to create a JavaFX application based on JDK-8 witch JavaFX libraries are embedded within it. It seems that Gluon applications can be easily executed on JVM although to create native-images you will need…
Elyas Hadizadeh
  • 3,289
  • 8
  • 40
  • 54
4
votes
0 answers

JavaFX - Pannable ListView

I have noticed that ListView does not behave the same as ScrollPane in terms of scrolling on Embedded Devices with touch. I cannot find a way to make ListView pannable, so as to make it scroll when dragging, and bounce back when off bounds (see…
javasuns
  • 1,061
  • 2
  • 11
  • 22
4
votes
1 answer

How can I use more than one additional regressor with DeepAREstimator in gluon-ts?

When creating training or test data in gluon-ts we can specify an additional real-valued regressor in the DeepAREstimator by specifying a feat_dynamic_real. Is there support for multiple real-valued regressors? There is a one_dim_target flag in…
watsaqat
  • 41
  • 3
4
votes
0 answers

Scene Builder with JFX 11 imports

I have a jar with custom controls. When it is built under Java 10 I'm able to import it to scene builder and access my custom controls. When I build it using Java 11, the list of controls to import is empty. Does anyone know if there's something…
Dodd10x
  • 3,344
  • 1
  • 18
  • 27
1
2 3
47 48