File tree Expand file tree Collapse file tree
src/main/java/com/example/hellofx Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ plugins {
99
1010dependencies {
1111 // ControlsFX
12- implementation (' org.controlsfx:controlsfx:11.0.3 ' ) {
12+ implementation (' org.controlsfx:controlsfx:11.1.0 ' ) {
1313 exclude group : ' org.openjfx' , module : ' *'
1414 }
1515
@@ -49,15 +49,15 @@ repositories {
4949}
5050
5151javafx {
52- version = ' 16-ea+5 ' // '14.0.2.1'
52+ version = ' 16' // '14.0.2.1'
5353 modules = [' javafx.controls' ]
5454}
5555
5656xjcGenerate {
5757 source = fileTree(' src/main/resources' ) { include ' *.xsd' }
5858}
5959
60- version = ' 20.12.15 '
60+ version = ' 21.04.09 '
6161def company = ' My Company'
6262
6363mainClassName = " com.example.hellofx.Launcher"
Original file line number Diff line number Diff line change 1- # Mon Apr 25 12:16:33 CEST 2016
1+ # Mon Jun 15 10:34:44 CEST 2020
2+ distributionUrl =https\://services.gradle.org/distributions/gradle-6.8.3-all.zip
23distributionBase =GRADLE_USER_HOME
34distributionPath =wrapper/dists
4- zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- # distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
7- distributionUrl =https\://services.gradle.org/distributions/gradle-5.6.1-all.zip
8- # distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-all.zip
6+ zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change @@ -301,9 +301,7 @@ Tab getTabControlsFX() {
301301
302302 HyperlinkLabel hyperlinkLabel = new HyperlinkLabel ("[Link]" );
303303 hyperlinkLabel .setOnAction (event -> {
304- Hyperlink link = (Hyperlink )event .getSource ();
305- final String str = link == null ? "" : link .getText ();
306- if ("Link" .equals (str )) {
304+ if (event .getSource () == hyperlinkLabel ) {
307305 Project p = new Project ();
308306 p .setInformation ("test" );
309307 // System.out.println("Link clicked: " + p.toString());
You can’t perform that action at this time.
0 commit comments