gluon

How to get JavaFX and Java 11 working in IntelliJ IDEA

旧街凉风 提交于 2019-11-29 07:53:04
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 am able to change the default SDK from Java 10 to Java 11. What I don't know is how I might get JavaFX working with Java 11. I have downloaded the latest JavaFX release here . I have extracted it to my Java folder which contains my other JDK's, but I really don't know what to do at this point. I have read some lengthy guides that describe how to

Gluon mobile cross-platform adsView

断了今生、忘了曾经 提交于 2019-11-28 10:54:19
问题 Is there any way to integrate ads such as Google's Admob library into gluon mobile on either android or iOS or hopefully both? This is the gradle file, I have downloaded the Google Play Services library and the google Repository : buildscript { repositories { jcenter() } dependencies { classpath 'org.javafxports:jfxmobile-plugin:1.2.0' } } apply plugin: 'org.javafxports.jfxmobile' repositories { jcenter() maven { url 'http://nexus.gluonhq.com/nexus/content/repositories/releases' } }

Play a video using JavaFX on Raspberry Pi

大兔子大兔子 提交于 2019-11-28 08:36:29
问题 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). WebView works almost perfectly. However, when I want to play a video using MediaPlayer/MediaView, I get the exception: Error in GstPipelineFactory: can't find element for factory named qtdemux Exception in Application start method java.lang.reflect

Poor ListView performance on Gluon

人盡茶涼 提交于 2019-11-28 02:16:49
I have a custom ListCell implementation, shown in the picture below. The left side, which represents the date, consisting of 3 labels, put in a VBox and the "CounterContent" consisting of the counter, with a TextField for each digit, contained in a HBox , and two Hboxes containing labels for kWh, kWh/day and so on. And that seem to be just too much, to be running performantly. I've tried to load the data in a background task, showing a progress indicator, while the task is running, but unlike on desktop, on android the performance is very poor. Whenever I switch to the listview, the garbage

Eclipse gluon new project does not finish

北城余情 提交于 2019-11-28 01:58:03
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 2.4.0 Gradle IdePack 3.8.x +1.0.x SceneBuilder installed and configured in Eclipse and (MarketPlace, Enide 2015) new Gluon project begins well: name and location (default) Gluon Application Settings (default) Name of view (default) => button finish appears active, but when pressing it, nothing happens. This window blocks here and no message. Only back

How to get JavaFX and Java 11 working in IntelliJ IDEA [duplicate]

妖精的绣舞 提交于 2019-11-27 18:50:31
问题 This question already has answers here : IntelliJ can't recognize JavaFX 11 with OpenJDK 11 (4 answers) Closed 2 months ago . 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 am able to change the default SDK from Java 10 to Java 11. What I don't know is how I might get JavaFX working with Java 11.

javafxports 'android' gradle task requires “Android Support Library” which is retired from Android SDK Manager…what now?

橙三吉。 提交于 2019-11-27 05:37:56
The official Gluon docs say in the prerequisites for an Android build: From the Android SDK Manager, install...from Extras the Android Support Library However, it seems that this is retired from the sdk manager in lieu of the "Android Support Repository", a gradle repository. The javafxports plugin is apparently still looking for the old support library folder in the android SDK, as indicated by the error: Cannot expand ZIP '<my AppData path>\Local\Android\sdk\extras\android\support\multidex\library\libs\android-support-multidex.jar' as it does not exist which has this stackoverflow answer ,

Eclipse gluon new project does not finish

荒凉一梦 提交于 2019-11-26 23:36:02
问题 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 2.4.0 Gradle IdePack 3.8.x +1.0.x SceneBuilder installed and configured in Eclipse and (MarketPlace, Enide 2015) new Gluon project begins well: name and location (default) Gluon Application Settings (default) Name of view (default) => button finish