Skip to content

Commit

Permalink
Update samples to latest JavaFX version
Browse files Browse the repository at this point in the history
  • Loading branch information
jperedadnr committed Jul 28, 2019
1 parent b2de58c commit faf9a64
Show file tree
Hide file tree
Showing 30 changed files with 39 additions and 40 deletions.
1 change: 1 addition & 0 deletions CommandLine/Modular/Gradle/hellofx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ repositories {
}

javafx {
version = "12.0.2"
modules = [ 'javafx.controls' ]
}

Expand Down
6 changes: 3 additions & 3 deletions CommandLine/Modular/Maven/hellofx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>3.8.1</version>
<configuration>
<release>12</release>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.openjfx;

import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
Expand Down
1 change: 1 addition & 0 deletions CommandLine/Non-modular/Gradle/hellofx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies {
}

javafx {
version = "12.0.2"
modules = [ 'javafx.controls' ]
}

Expand Down
10 changes: 5 additions & 5 deletions CommandLine/Non-modular/Maven/hellofx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,25 @@
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
</dependency>
<!-- Uncomment for cross-platform fat jar
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
<classifier>win</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
<classifier>mac</classifier>
</dependency> -->
</dependencies>
Expand All @@ -45,7 +45,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>3.8.1</version>
<configuration>
<release>12</release>
</configuration>
Expand Down
1 change: 1 addition & 0 deletions HelloFX/Gradle/hellofx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ repositories {
}

javafx {
version = "12.0.2"
modules = [ 'javafx.controls' ]
}

Expand Down
2 changes: 1 addition & 1 deletion HelloFX/Maven/hellofx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
</dependency>
</dependencies>
<build>
Expand Down
1 change: 1 addition & 0 deletions IDE/Eclipse/Modular/Gradle/hellofx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ repositories {
}

javafx {
version = "12.0.2"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.openjfx;

import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.openjfx;

import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
Expand Down
6 changes: 3 additions & 3 deletions IDE/Eclipse/Modular/Maven/hellofx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>3.8.1</version>
<configuration>
<release>12</release>
</configuration>
Expand Down
1 change: 1 addition & 0 deletions IDE/Eclipse/Non-Modular/Gradle/hellofx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies {
}

javafx {
version = "12.0.2"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.openjfx;

import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
Expand Down
6 changes: 3 additions & 3 deletions IDE/Eclipse/Non-Modular/Maven/hellofx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>3.8.1</version>
<configuration>
<release>12</release>
</configuration>
Expand Down
1 change: 1 addition & 0 deletions IDE/IntelliJ/Modular/Gradle/hellofx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ repositories {
}

javafx {
version = "12.0.2"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.openjfx;

import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.button {
-fx-font-weight: bold;
.label {
-fx-text-fill: blue;
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.openjfx;

import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
Expand Down
6 changes: 3 additions & 3 deletions IDE/IntelliJ/Modular/Maven/hellofx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>3.8.1</version>
<configuration>
<release>12</release>
</configuration>
Expand Down
1 change: 1 addition & 0 deletions IDE/IntelliJ/Non-Modular/Gradle/hellofx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies {
}

javafx {
version = "12.0.2"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.openjfx;

import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.label {
-fx-font-weight: bold;
-fx-text-fill: blue;
}
6 changes: 3 additions & 3 deletions IDE/IntelliJ/Non-Modular/Maven/hellofx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>3.8.1</version>
<configuration>
<release>12</release>
</configuration>
Expand Down
1 change: 1 addition & 0 deletions IDE/NetBeans/Modular/Gradle/hellofx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ repositories {
}

javafx {
version = "12.0.2"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.openjfx;

import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.openjfx;

import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
Expand Down
6 changes: 3 additions & 3 deletions IDE/NetBeans/Modular/Maven/hellofx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>3.8.1</version>
<configuration>
<release>12</release>
</configuration>
Expand Down
1 change: 1 addition & 0 deletions IDE/NetBeans/Non-Modular/Gradle/hellofx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies {
}

javafx {
version = "12.0.2"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.openjfx;

import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
Expand Down
6 changes: 3 additions & 3 deletions IDE/NetBeans/Non-Modular/Maven/hellofx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>12.0.1</version>
<version>12.0.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>3.8.1</version>
<configuration>
<release>12</release>
</configuration>
Expand Down

0 comments on commit faf9a64

Please sign in to comment.