javafx-11

Package 'com.example' reads package 'javafx.beans' from both 'javafx.base' and 'javafx.base'

拥有回忆 提交于 2021-02-18 06:06:45
问题 In module-info.java i get the error Package 'com.example' reads package 'javafx.beans' from both 'javafx.base' and 'javafx.base'. Not only does the migration (Java 8 to Java 11) frustrate me slowly but surely, this error does not make any sense to me. The dependencies part fo my build.gradle : def springFrameworkVersion = '5.1.2.RELEASE' def hibernateVersion = '5.3.7.Final' def junitJupiterVersion = '5.3.1' dependencies { compile 'org.transentials:cardhouse-commons:1.1.1' compile 'ch.qos

Package 'com.example' reads package 'javafx.beans' from both 'javafx.base' and 'javafx.base'

馋奶兔 提交于 2021-02-18 06:05:01
问题 In module-info.java i get the error Package 'com.example' reads package 'javafx.beans' from both 'javafx.base' and 'javafx.base'. Not only does the migration (Java 8 to Java 11) frustrate me slowly but surely, this error does not make any sense to me. The dependencies part fo my build.gradle : def springFrameworkVersion = '5.1.2.RELEASE' def hibernateVersion = '5.3.7.Final' def junitJupiterVersion = '5.3.1' dependencies { compile 'org.transentials:cardhouse-commons:1.1.1' compile 'ch.qos

JavaFX 11 uneditable ComboBox not displaying values outside combo items list properly

…衆ロ難τιáo~ 提交于 2021-02-16 20:13:08
问题 I have troubles with JaxaFX 11 ComboBox (it seems that in JavaFX 8 it works OK). For uneditable combo, i.e. displaying the selected value in buttoncell (not in editable textbox), no value is displayed (buttoncell probably considered "empty"), if the new value is not included in the combo's items list , with one exception only: If the previous value is null (I e.g. deselect the previous non null value by keyboard in popup list), the new non null value is displayed correctly. See a simple code

Error: Hash of java.xml (…) differs to expected hash (…) recorded in java.base

对着背影说爱祢 提交于 2021-02-07 18:42:46
问题 Creating simple javafx 11 "hello world" application. Getting error while creating custom JRE. user@user:~/Desktop/javafx/hellofx$ ./run.sh Error: Hash of java.xml (c043b4c28b897656e2a4d36c92ba2f5d52134bce79643236dd36295e14178be7) differs to expected hash (4e7db7fc941d9f316c4aafe02717b5809ee722be8433d283050365e7fd49331f) recorded in java.base Error Code: $JAVA_HOME/bin/jlink --module-path $PATH_TO_FX_MODS:mods --add-modules hellofx --output hellofx #error OS: ubuntu 19.10 $java --version

Error: Hash of java.xml (…) differs to expected hash (…) recorded in java.base

↘锁芯ラ 提交于 2021-02-07 18:42:35
问题 Creating simple javafx 11 "hello world" application. Getting error while creating custom JRE. user@user:~/Desktop/javafx/hellofx$ ./run.sh Error: Hash of java.xml (c043b4c28b897656e2a4d36c92ba2f5d52134bce79643236dd36295e14178be7) differs to expected hash (4e7db7fc941d9f316c4aafe02717b5809ee722be8433d283050365e7fd49331f) recorded in java.base Error Code: $JAVA_HOME/bin/jlink --module-path $PATH_TO_FX_MODS:mods --add-modules hellofx --output hellofx #error OS: ubuntu 19.10 $java --version

Deploy JavaFX application using gradle 6.3, OpenJDK 14 and OpenJFX 14

戏子无情 提交于 2021-02-07 08:02:20
问题 I am developping a JavaFX application using gradle 6.3, OpenJDK 14 and OpenJFX 14 with IntelliJ and I want to deploy it (create a exe file). I used to make JavaFX applications with JDK 8 under Netbeans 11 and the process was simple: Make the application Clean and build Look for the jar in the dist folder (which works perfectly when I click on it) convert it to exe using Launch4j Voilà! Since I am migrating to OpenJDK 14, I wanted to make sure I can deploy the app I am making, so I created an

Deploy JavaFX application using gradle 6.3, OpenJDK 14 and OpenJFX 14

♀尐吖头ヾ 提交于 2021-02-07 07:58:22
问题 I am developping a JavaFX application using gradle 6.3, OpenJDK 14 and OpenJFX 14 with IntelliJ and I want to deploy it (create a exe file). I used to make JavaFX applications with JDK 8 under Netbeans 11 and the process was simple: Make the application Clean and build Look for the jar in the dist folder (which works perfectly when I click on it) convert it to exe using Launch4j Voilà! Since I am migrating to OpenJDK 14, I wanted to make sure I can deploy the app I am making, so I created an

Eclipse cannot find module even the module path is explicitly provided

≯℡__Kan透↙ 提交于 2021-02-07 06:15:50
问题 I have created a module com.company.ep that is located in the source folder com.company.ep . (Yes, I have removed src from the build path and deleted it!) Inside the source folder, I have a couple of packages as the following: com.company.ep <--- root source folder com.company.ep.main <--- package 1 com.company.ep.model <--- package 2 com.company.ep.view <--- package 3 // ... more packages module-info.java The main class is located in the package com.company.ep.main.Main . In my module-info

Eclipse cannot find module even the module path is explicitly provided

懵懂的女人 提交于 2021-02-07 06:13:01
问题 I have created a module com.company.ep that is located in the source folder com.company.ep . (Yes, I have removed src from the build path and deleted it!) Inside the source folder, I have a couple of packages as the following: com.company.ep <--- root source folder com.company.ep.main <--- package 1 com.company.ep.model <--- package 2 com.company.ep.view <--- package 3 // ... more packages module-info.java The main class is located in the package com.company.ep.main.Main . In my module-info

Eclipse cannot find module even the module path is explicitly provided

六月ゝ 毕业季﹏ 提交于 2021-02-07 06:11:58
问题 I have created a module com.company.ep that is located in the source folder com.company.ep . (Yes, I have removed src from the build path and deleted it!) Inside the source folder, I have a couple of packages as the following: com.company.ep <--- root source folder com.company.ep.main <--- package 1 com.company.ep.model <--- package 2 com.company.ep.view <--- package 3 // ... more packages module-info.java The main class is located in the package com.company.ep.main.Main . In my module-info