progress
@ -1,78 +0,0 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
<groupId>edu.slcc.asdv.caleb</groupId>
|
|
||||||
<artifactId>lab2-FX2-F22_part1</artifactId>
|
|
||||||
<version>1.0-SNAPSHOT</version>
|
|
||||||
<properties>
|
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
|
||||||
<maven.compiler.target>1.8</maven.compiler.target>
|
|
||||||
</properties>
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.openjfx</groupId>
|
|
||||||
<artifactId>javafx-controls</artifactId>
|
|
||||||
<version>13</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
|
||||||
<version>3.8.0</version>
|
|
||||||
<configuration>
|
|
||||||
<release>11</release>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.openjfx</groupId>
|
|
||||||
<artifactId>javafx-maven-plugin</artifactId>
|
|
||||||
<version>0.0.4</version>
|
|
||||||
<configuration>
|
|
||||||
<mainClass>edu.slcc.asdv.caleb.lab2.fx2.f22_part1.App</mainClass>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<!-- Default configuration for running -->
|
|
||||||
<!-- Usage: mvn clean javafx:run -->
|
|
||||||
<id>default-cli</id>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<!-- Configuration for manual attach debugging -->
|
|
||||||
<!-- Usage: mvn clean javafx:run@debug -->
|
|
||||||
<id>debug</id>
|
|
||||||
<configuration>
|
|
||||||
<options>
|
|
||||||
<option>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=localhost:8000</option>
|
|
||||||
</options>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<!-- Configuration for automatic IDE debugging -->
|
|
||||||
<id>ide-debug</id>
|
|
||||||
<configuration>
|
|
||||||
<options>
|
|
||||||
<option>-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address}</option>
|
|
||||||
</options>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<!-- Configuration for automatic IDE profiling -->
|
|
||||||
<id>ide-profile</id>
|
|
||||||
<configuration>
|
|
||||||
<options>
|
|
||||||
<option>${profiler.jvmargs.arg1}</option>
|
|
||||||
<option>${profiler.jvmargs.arg2}</option>
|
|
||||||
<option>${profiler.jvmargs.arg3}</option>
|
|
||||||
<option>${profiler.jvmargs.arg4}</option>
|
|
||||||
<option>${profiler.jvmargs.arg5}</option>
|
|
||||||
</options>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
</project>
|
|
@ -1,30 +0,0 @@
|
|||||||
package edu.slcc.asdv.caleb.lab2.fx2.f22_part1;
|
|
||||||
|
|
||||||
import javafx.application.Application;
|
|
||||||
import javafx.scene.Scene;
|
|
||||||
import javafx.scene.control.Label;
|
|
||||||
import javafx.scene.layout.StackPane;
|
|
||||||
import javafx.stage.Stage;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* JavaFX App
|
|
||||||
*/
|
|
||||||
public class App extends Application {
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void start(Stage stage) {
|
|
||||||
var javaVersion = SystemInfo.javaVersion();
|
|
||||||
var javafxVersion = SystemInfo.javafxVersion();
|
|
||||||
|
|
||||||
var label = new Label("Hello, JavaFX " + javafxVersion + ", running on Java " + javaVersion + ".");
|
|
||||||
var scene = new Scene(new StackPane(label), 640, 480);
|
|
||||||
stage.setScene(scene);
|
|
||||||
stage.show();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void main(String[] args) {
|
|
||||||
launch();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,13 +0,0 @@
|
|||||||
package edu.slcc.asdv.caleb.lab2.fx2.f22_part1;
|
|
||||||
|
|
||||||
public class SystemInfo {
|
|
||||||
|
|
||||||
public static String javaVersion() {
|
|
||||||
return System.getProperty("java.version");
|
|
||||||
}
|
|
||||||
|
|
||||||
public static String javafxVersion() {
|
|
||||||
return System.getProperty("javafx.version");
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,4 +0,0 @@
|
|||||||
module edu.slcc.asdv.caleb.lab2.fx2.f22_part1 {
|
|
||||||
requires javafx.controls;
|
|
||||||
exports edu.slcc.asdv.caleb.lab2.fx2.f22_part1;
|
|
||||||
}
|
|
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 110 B |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 583 B |
After Width: | Height: | Size: 596 B |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 453 B |
After Width: | Height: | Size: 474 B |
After Width: | Height: | Size: 508 B |
After Width: | Height: | Size: 494 B |
After Width: | Height: | Size: 578 B |
After Width: | Height: | Size: 531 B |
After Width: | Height: | Size: 463 B |
After Width: | Height: | Size: 606 B |
After Width: | Height: | Size: 625 B |
After Width: | Height: | Size: 634 B |
After Width: | Height: | Size: 630 B |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 388 B |
After Width: | Height: | Size: 411 B |
After Width: | Height: | Size: 440 B |
After Width: | Height: | Size: 511 B |
After Width: | Height: | Size: 435 B |
After Width: | Height: | Size: 478 B |
After Width: | Height: | Size: 463 B |
After Width: | Height: | Size: 513 B |
After Width: | Height: | Size: 525 B |
After Width: | Height: | Size: 533 B |
After Width: | Height: | Size: 554 B |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 486 B |
After Width: | Height: | Size: 440 B |
After Width: | Height: | Size: 457 B |
After Width: | Height: | Size: 505 B |
After Width: | Height: | Size: 474 B |
After Width: | Height: | Size: 553 B |