Update style.
This commit is contained in:
parent
57dba48d46
commit
cda74d3571
|
@ -7,9 +7,7 @@ type: docker
|
||||||
# os: linux
|
# os: linux
|
||||||
# arch: amd64
|
# arch: amd64
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: jpackage
|
- name: jpackage
|
||||||
image: docker.io/eclipse-temurin:17
|
image: docker.io/eclipse-temurin:17
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -41,10 +41,12 @@ dependencies {
|
||||||
implementation 'org.slf4j:slf4j-api:2.0.7' // Logging API
|
implementation 'org.slf4j:slf4j-api:2.0.7' // Logging API
|
||||||
runtimeOnly 'org.slf4j:slf4j-simple:2.0.7' // Logging API
|
runtimeOnly 'org.slf4j:slf4j-simple:2.0.7' // Logging API
|
||||||
|
|
||||||
|
implementation 'io.github.mkpaz:atlantafx-base:2.0.1'
|
||||||
implementation 'jakarta.inject:jakarta.inject-api:2.0.1'
|
implementation 'jakarta.inject:jakarta.inject-api:2.0.1'
|
||||||
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
|
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
|
||||||
implementation 'org.jmdns:jmdns:3.5.8'
|
implementation 'org.jmdns:jmdns:3.5.8'
|
||||||
|
|
||||||
|
|
||||||
testImplementation 'org.spockframework:spock-core:2.3-groovy-3.0'
|
testImplementation 'org.spockframework:spock-core:2.3-groovy-3.0'
|
||||||
testImplementation 'org.slf4j:slf4j-simple:2.0.7'
|
testImplementation 'org.slf4j:slf4j-simple:2.0.7'
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 59 KiB |
|
@ -1 +1 @@
|
||||||
version = 1.0.1
|
version = 1.0.2
|
||||||
|
|
|
@ -6,6 +6,7 @@ import javafx.fxml.FXMLLoader;
|
||||||
import javafx.scene.Scene;
|
import javafx.scene.Scene;
|
||||||
import javafx.scene.image.Image;
|
import javafx.scene.image.Image;
|
||||||
import javafx.stage.Stage;
|
import javafx.stage.Stage;
|
||||||
|
import atlantafx.base.theme.NordDark;
|
||||||
|
|
||||||
import java.awt.Taskbar;
|
import java.awt.Taskbar;
|
||||||
import java.awt.Toolkit;
|
import java.awt.Toolkit;
|
||||||
|
@ -40,6 +41,9 @@ public class App extends Application {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// find more themes in 'atlantafx.base.theme' package
|
||||||
|
Application.setUserAgentStylesheet(new NordDark().getUserAgentStylesheet());
|
||||||
|
|
||||||
FXMLLoader fxmlLoader = new FXMLLoader(App.class.getResource("main.fxml"));
|
FXMLLoader fxmlLoader = new FXMLLoader(App.class.getResource("main.fxml"));
|
||||||
Scene scene = new Scene(fxmlLoader.load());
|
Scene scene = new Scene(fxmlLoader.load());
|
||||||
primaryStage.setTitle("mDNS Explorer");
|
primaryStage.setTitle("mDNS Explorer");
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
module biz.nellemann.mdexpl {
|
module biz.nellemann.mdexpl {
|
||||||
requires javafx.controls;
|
requires javafx.controls;
|
||||||
requires javafx.fxml;
|
requires javafx.fxml;
|
||||||
|
requires java.desktop;
|
||||||
requires javax.jmdns;
|
requires javax.jmdns;
|
||||||
requires org.slf4j;
|
requires org.slf4j;
|
||||||
requires jakarta.inject;
|
requires jakarta.inject;
|
||||||
requires jakarta.annotation;
|
requires jakarta.annotation;
|
||||||
requires java.desktop;
|
requires atlantafx.base;
|
||||||
|
|
||||||
opens biz.nellemann.mdexpl to javafx.fxml;
|
opens biz.nellemann.mdexpl to javafx.fxml;
|
||||||
exports biz.nellemann.mdexpl;
|
exports biz.nellemann.mdexpl;
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<ListView fx:id="listView" BorderPane.alignment="CENTER" />
|
<ListView fx:id="listView" BorderPane.alignment="CENTER" />
|
||||||
</center>
|
</center>
|
||||||
<right>
|
<right>
|
||||||
<ListView fx:id="propertiesList" />
|
<ListView fx:id="propertiesList" maxWidth="1.7976931348623157E308" prefWidth="360.0" />
|
||||||
</right>
|
</right>
|
||||||
|
|
||||||
</BorderPane>
|
</BorderPane>
|
||||||
|
|
Loading…
Reference in a new issue