gluon

Gluon scenebuilder is not launching ubuntu

╄→尐↘猪︶ㄣ 提交于 2019-12-11 05:46:13
问题 On ubuntu I installed scene builder it won't launch. Also didn't give any type of exception. Icon blinks for few seconds and then stops. 回答1: Well, I have the same issue here. I run scene builder alongside with intelliJ IDE on my laptop(elementary os loki). I tried to googling around and finally found a workaround from this post. May it helps you! p.s.: I still can't open it directly from intelliJ, so I open the scene builder separately. 回答2: @José Pereda pointed out that the problem could be

gluon scene builder 8.3.0 line chart not a compound widget

烂漫一生 提交于 2019-12-11 05:39:15
问题 I have recently migrated to the Gluon version of the JavaFX SceneBuilder app (v8.3.0) and note that it does not support the LineChart widget as a compound widget like is done with the Oracle version of SceneBuilder v2.0. With the Oracle version, the LineChart widget can be expanded to show any axis widgets that have been added to the LineChart. Anyone have any tips as to why this is so? Is it a bug? How are bugs reported for the Gluon version? 来源: https://stackoverflow.com/questions/41477939

Gluon Mobile: Access JavaDoc from within NetBeans

◇◆丶佛笑我妖孽 提交于 2019-12-11 04:58:54
问题 I would like to access the Javadoc documentation of Gluon using the NetBeans context menu option Show Javadoc : This fails with Cannot perform Show Javadoc here : Showing the Javadoc for classes belonging to the Java standard library (for example javafx.scene.Scene) works as expected. Hence, I need to set the url to the Gluon Mobile documentation (http://docs.gluonhq.com/mobile/javadoc) manually. As Gluon projects are managed by Gradle, the project settings dialog appears to have no way of

Gluon Mobile androidinstall applyRetrolambda error

蓝咒 提交于 2019-12-11 04:39:37
问题 When run on Desktop is everything green light-ok. But run androidinstall rise the error in applyRetrolambda process. The error message below: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_131\bin\java.exe'' finished with non-zero exit value 1 at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:389) at org.gradle.process.internal.DefaultJavaExecAction.execute(DefaultJavaExecAction.java:36) at

Impossible to add the charm library in Scene Builder

馋奶兔 提交于 2019-12-10 23:55:57
问题 I can not add gluonhq.charm elements or open gluon FXML with "charm-common-2.2.0.jar" library in my scene builder Builder 8.2 (I tried with 8.1.1 too). When I add the jar file, nothing is added in the left section on scene builder. But the jar is correctly added in the Library folder. See image below Or when I try to open a gluon FXLM, I have this exception : Caused by: java.lang.ClassNotFoundException: com.gluonhq.charm.glisten.mvc.View Can you help me ? 回答1: If you want Gluon's Charm

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

混江龙づ霸主 提交于 2019-12-10 23:42:28
问题 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] Required filename-based automodules detected. Please don't publish this project to a public artifact repository! Error: automatic module cannot be used with jlink: ini4j from file:///root/.m2/repository/org/ini4j/ini4j/0.5.4/ini4j-0.5.4.jar [ERROR]

Gluon Mobile iOS Audio Player

爱⌒轻易说出口 提交于 2019-12-10 20:14:59
问题 Since the JavaFx Media has not been ported to the Mobile Platforms yet, can anyone help me with using the native iOS APi's to play a sound mp3 file that would be stored in my main/resources folder in my gluon project. 回答1: While on Android we can easily add native API to the Android folders of a Gluon project (check this solution for using native Media on Android), the use of native code (Objetive-C) with the Media API on iOS folders is not enough, since it has to be compiled, and the

Keycode event for BACKSPACE in JavaFx

谁都会走 提交于 2019-12-10 17:29:36
问题 I am doing a project in JavaFX, using Java 8 and Gluon scenebuilder. I want to detect when backspace is pressed inside a TextField . This is the code I am using: public void keyPressed(KeyEvent kEvent) { if (kEvent.getCode() == KeyCode.BACK_SPACE) { System.out.println("Backspace pressed"); } This code is inside the controller file, called FXMLDocumentController , which controls the GUI xml file FXMLDocument . You can see from the image below the function is called whenever a key is typed

How to pass variable from controller code to fxml view?

大憨熊 提交于 2019-12-10 10:47:03
问题 I have custom component with few labels and few textFields. I need to instantiate it 3 times, but each version must have all labels prefixed with different String. Fragment of my component fxml: <Label text="inclusions type:"/> <Label text="inclusions size:" GridPane.rowIndex="1"/> <Label text="inclusions number:" GridPane.rowIndex="2"/> I would like to achieve some kind of code placeholder like: <Label text="$variable inclusions type:"/> <Label text="$variable size:" GridPane.rowIndex="1"/>

Schedule a Task in Android using ALARM_SERVICE service in Gluon-mobile

点点圈 提交于 2019-12-10 09:46:21
问题 I have referred from this link and tried this code So far.But I don't know to implement this code in gluon-mobile .What I intent to do is that I want to start an Indent that does some Job in background at a specific time.My problem is that I don't how gluon-mobile behaves.So help me complete it. package com.application; import java.util.Calendar; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import javafxports