Prepare NeitzelLib 1.0.4 with managed FXML and commands

This commit is contained in:
2026-11-23 18:24:22 +01:00
parent a3f7d2423f
commit 480039f011
19 changed files with 26 additions and 26 deletions
+3 -3
View File
@@ -84,7 +84,7 @@ The [complete quick start](fx/docs/quick-start.md) includes local installation,
Build with Java 25. Maven wrapper version is 3.9.11; the project requires Maven 3.9.11 or later. Surefire fails the build if tests fail. Build with Java 25. Maven wrapper version is 3.9.11; the project requires Maven 3.9.11 or later. Surefire fails the build if tests fail.
## Changes in 1.0.3 ## Changes in 1.0.4
- Show or hide DataGrid columns from the header checklist or context menu while retaining column order and widths. - Show or hide DataGrid columns from the header checklist or context menu while retaining column order and widths.
- Observe column visibility changes from applications that store their own view preferences. - Observe column visibility changes from applications that store their own view preferences.
@@ -99,7 +99,7 @@ Build with Java 25. Maven wrapper version is 3.9.11; the project requires Maven
## Use a release from Maven ## Use a release from Maven
To use release `1.0.3`, add the Gitea registry to the consuming project's POM and use the release To use release `1.0.4`, add the Gitea registry to the consuming project's POM and use the release
version for the module you need: version for the module you need:
```xml ```xml
@@ -114,7 +114,7 @@ version for the module you need:
<dependency> <dependency>
<groupId>de.neitzel.lib</groupId> <groupId>de.neitzel.lib</groupId>
<artifactId>fx</artifactId> <artifactId>fx</artifactId>
<version>1.0.3</version> <version>1.0.4</version>
</dependency> </dependency>
</dependencies> </dependencies>
``` ```
+1 -1
View File
@@ -7,7 +7,7 @@
<parent> <parent>
<groupId>de.neitzel.lib</groupId> <groupId>de.neitzel.lib</groupId>
<artifactId>neitzellib</artifactId> <artifactId>neitzellib</artifactId>
<version>1.0.4-SNAPSHOT</version> <version>1.0.4</version>
</parent> </parent>
<artifactId>core</artifactId> <artifactId>core</artifactId>
+1 -1
View File
@@ -1,5 +1,5 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion><parent><groupId>de.neitzel.lib</groupId><artifactId>neitzellib</artifactId><version>1.0.4-SNAPSHOT</version></parent> <modelVersion>4.0.0</modelVersion><parent><groupId>de.neitzel.lib</groupId><artifactId>neitzellib</artifactId><version>1.0.4</version></parent>
<artifactId>data-grid-jdbc</artifactId><description>Optional mapped JDBC grid source</description> <artifactId>data-grid-jdbc</artifactId><description>Optional mapped JDBC grid source</description>
<dependencies><dependency><groupId>de.neitzel.lib</groupId><artifactId>data-grid</artifactId><version>${project.version}</version></dependency> <dependencies><dependency><groupId>de.neitzel.lib</groupId><artifactId>data-grid</artifactId><version>${project.version}</version></dependency>
<dependency><groupId>com.h2database</groupId><artifactId>h2</artifactId><version>2.5.252</version><scope>test</scope></dependency></dependencies></project> <dependency><groupId>com.h2database</groupId><artifactId>h2</artifactId><version>2.5.252</version><scope>test</scope></dependency></dependencies></project>
+1 -1
View File
@@ -1,6 +1,6 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent><groupId>de.neitzel.lib</groupId><artifactId>neitzellib</artifactId><version>1.0.4-SNAPSHOT</version></parent> <parent><groupId>de.neitzel.lib</groupId><artifactId>neitzellib</artifactId><version>1.0.4</version></parent>
<artifactId>data-grid</artifactId> <artifactId>data-grid</artifactId>
<description>Toolkit-independent filter, query and grid setup contracts</description> <description>Toolkit-independent filter, query and grid setup contracts</description>
</project> </project>
+1 -1
View File
@@ -7,7 +7,7 @@
<parent> <parent>
<groupId>de.neitzel.lib</groupId> <groupId>de.neitzel.lib</groupId>
<artifactId>neitzellib</artifactId> <artifactId>neitzellib</artifactId>
<version>1.0.4-SNAPSHOT</version> <version>1.0.4</version>
</parent> </parent>
<artifactId>encryption</artifactId> <artifactId>encryption</artifactId>
+2 -2
View File
@@ -30,12 +30,12 @@ From the NeitzelLib root with JDK 25:
./mvnw -f fx-example/pom.xml javafx:run ./mvnw -f fx-example/pom.xml javafx:run
``` ```
The first command installs local `1.0.4-SNAPSHOT` artifacts; the second runs only the application module. Do not combine `javafx:run` with `-am`, since the parent has no JavaFX launcher. See the [quick start](../fx/docs/quick-start.md) for test reports. The first command installs local `1.0.4` artifacts; the second runs only the application module. Do not combine `javafx:run` with `-am`, since the parent has no JavaFX launcher. See the [quick start](../fx/docs/quick-start.md) for test reports.
The packaged alternative, after `package` or `install`, is: The packaged alternative, after `package` or `install`, is:
```bash ```bash
java -jar fx-example/target/fx-example-1.0.4-SNAPSHOT.jar java -jar fx-example/target/fx-example-1.0.4.jar
``` ```
Keep the adjacent `target/libs` directory with the JAR: the manifest refers to those copied runtime dependencies. A desktop session is required. This example has no `module-info.java`; it is a classpath application. Keep the adjacent `target/libs` directory with the JAR: the manifest refers to those copied runtime dependencies. A desktop session is required. This example has no `module-info.java`; it is a classpath application.
+1 -1
View File
@@ -6,7 +6,7 @@ From the repository root with JDK 25, build without installing runtime artifacts
```sh ```sh
./mvnw -pl fx-example -am package -DskipTests ./mvnw -pl fx-example -am package -DskipTests
java -cp 'fx-example/target/fx-example-1.0.4-SNAPSHOT.jar:fx-example/target/libs/*' de.neitzel.fx.example.grid.ProductGridMain java -cp 'fx-example/target/fx-example-1.0.4.jar:fx-example/target/libs/*' de.neitzel.fx.example.grid.ProductGridMain
``` ```
The default catalog has 10,000 products. Both backends use identical stable IDs, names, categories, quantities and DECIMAL(12,2) prices. Fixtures include duplicate sort values, nulls, empty text, mixed case, Unicode, apostrophes and literal SQL wildcard characters. One `ProductCatalog` service maintains original text and Locale.ROOT comparison keys together on insertion/reset. Mutations run on application workers and explicitly refresh the grid; browsing is read-only. The default catalog has 10,000 products. Both backends use identical stable IDs, names, categories, quantities and DECIMAL(12,2) prices. Fixtures include duplicate sort values, nulls, empty text, mixed case, Unicode, apostrophes and literal SQL wildcard characters. One `ProductCatalog` service maintains original text and Locale.ROOT comparison keys together on insertion/reset. Mutations run on application workers and explicitly refresh the grid; browsing is read-only.
+1 -1
View File
@@ -5,7 +5,7 @@
After the reactor `verify` or `package` build, from the repository root (no local artifact install required): After the reactor `verify` or `package` build, from the repository root (no local artifact install required):
```sh ```sh
java -cp 'fx-example/target/fx-example-1.0.4-SNAPSHOT.jar:fx-example/target/libs/*' \ java -cp 'fx-example/target/fx-example-1.0.4.jar:fx-example/target/libs/*' \
de.neitzel.fx.example.theme.ThemeGalleryMain de.neitzel.fx.example.theme.ThemeGalleryMain
``` ```
+1 -1
View File
@@ -7,7 +7,7 @@
<parent> <parent>
<groupId>de.neitzel.lib</groupId> <groupId>de.neitzel.lib</groupId>
<artifactId>neitzellib</artifactId> <artifactId>neitzellib</artifactId>
<version>1.0.4-SNAPSHOT</version> <version>1.0.4</version>
</parent> </parent>
<artifactId>fx-example</artifactId> <artifactId>fx-example</artifactId>
+1 -1
View File
@@ -56,7 +56,7 @@ These are the versions configured by this source snapshot, not a promise of comp
| --- | --- | --- | | --- | --- | --- |
| JDK | Java 25 | Select a matching JDK for compilation and launch | | JDK | Java 25 | Select a matching JDK for compilation and launch |
| Maven | Minimum 3.9.11; wrapper 3.9.11 | Use the wrapper or an installed Maven | | Maven | Minimum 3.9.11; wrapper 3.9.11 | Use the wrapper or an installed Maven |
| Library | `de.neitzel.lib:fx:1.0.3` | Use the Gitea Maven registry or install the local reactor | | Library | `de.neitzel.lib:fx:1.0.4` | Use the Gitea Maven registry or install the local reactor |
| Internal modules | `fx` directly depends on `core`, `injection` and toolkit-independent `data-grid` | Resolved transitively through Maven | | Internal modules | `fx` directly depends on `core`, `injection` and toolkit-independent `data-grid` | Resolved transitively through Maven |
| JavaFX | 27.0.1: base, graphics, controls, FXML and web | Resolved transitively; deployment still needs platform-native artifacts | | JavaFX | 27.0.1: base, graphics, controls, FXML and web | Resolved transitively; deployment still needs platform-native artifacts |
| Saved HTML | jsoup 1.23.2, ph-css 8.2.3, TwelveMonkeys WebP 3.15.3 | Resolved transitively by `fx`; no separate application setup | | Saved HTML | jsoup 1.23.2, ph-css 8.2.3, TwelveMonkeys WebP 3.15.3 | Resolved transitively by `fx`; no separate application setup |
+4 -4
View File
@@ -1,13 +1,13 @@
# Your first JavaFX application # Your first JavaFX application
This walkthrough creates a complete Maven project with one editable name and a label that follows it. It uses Java 25, JavaFX 27.0.1 and NeitzelLib 1.0.3. The source build below uses the matching release tag. This walkthrough creates a complete Maven project with one editable name and a label that follows it. It uses Java 25, JavaFX 27.0.1 and NeitzelLib 1.0.4. The source build below uses the matching release tag.
## Prepare the library ## Prepare the library
Install a JDK 25. Use the library's Maven wrapper (3.9.11), or a separate Maven installation version 3.9.11 or newer. Check `java -version` and `./mvnw -version` before building; on macOS, select the JDK with `export JAVA_HOME=$(/usr/libexec/java_home -v 25)` if necessary. Install a JDK 25. Use the library's Maven wrapper (3.9.11), or a separate Maven installation version 3.9.11 or newer. Check `java -version` and `./mvnw -version` before building; on macOS, select the JDK with `export JAVA_HOME=$(/usr/libexec/java_home -v 25)` if necessary.
```bash ```bash
git clone --branch v1.0.3 https://gitea.neitzel.de/konrad/NeitzelLib.git git clone --branch v1.0.4 https://gitea.neitzel.de/konrad/NeitzelLib.git
cd NeitzelLib cd NeitzelLib
./mvnw -pl fx-example -am install ./mvnw -pl fx-example -am install
./mvnw -f fx-example/pom.xml javafx:run ./mvnw -f fx-example/pom.xml javafx:run
@@ -66,7 +66,7 @@ hello-fx/
<dependency> <dependency>
<groupId>de.neitzel.lib</groupId> <groupId>de.neitzel.lib</groupId>
<artifactId>fx</artifactId> <artifactId>fx</artifactId>
<version>1.0.3</version> <version>1.0.4</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
@@ -190,7 +190,7 @@ For a named-module application, see the [module and lifecycle notes](architectur
| Symptom | Check | | Symptom | Check |
| --- | --- | | --- | --- |
| Maven cannot resolve `de.neitzel.lib:fx:1.0.3` or its parent | Install the library reactor first; use the same Maven local repository for both projects. For direct downloads, see the [Maven repository setup](../../README.md#use-a-release-from-maven). | | Maven cannot resolve `de.neitzel.lib:fx:1.0.4` or its parent | Install the library reactor first; use the same Maven local repository for both projects. For direct downloads, see the [Maven repository setup](../../README.md#use-a-release-from-maven). |
| `No plugin found for prefix 'javafx'` | Invoke the example POM directly, or use the complete application POM above. Do not invoke the goal on the library reactor parent. | | `No plugin found for prefix 'javafx'` | Invoke the example POM directly, or use the complete application POM above. Do not invoke the goal on the library reactor parent. |
| JavaFX runtime/native library failure | Check the JDK version, architecture and JavaFX dependencies actually resolved; avoid mixing native artifacts from different platforms or JavaFX versions. | | JavaFX runtime/native library failure | Check the JDK version, architecture and JavaFX dependencies actually resolved; avoid mixing native artifacts from different platforms or JavaFX versions. |
| `getResource(...)` returns null | The FXML belongs under `src/main/resources` in the matching package; verify it was copied to `target/classes`. Resource names are case-sensitive. | | `getResource(...)` returns null | The FXML belongs under `src/main/resources` in the matching package; verify it was copied to `target/classes`. Resource names are case-sensitive. |
+1 -1
View File
@@ -7,7 +7,7 @@
<parent> <parent>
<groupId>de.neitzel.lib</groupId> <groupId>de.neitzel.lib</groupId>
<artifactId>neitzellib</artifactId> <artifactId>neitzellib</artifactId>
<version>1.0.4-SNAPSHOT</version> <version>1.0.4</version>
</parent> </parent>
<artifactId>fx</artifactId> <artifactId>fx</artifactId>
+1 -1
View File
@@ -7,7 +7,7 @@
<parent> <parent>
<groupId>de.neitzel.lib</groupId> <groupId>de.neitzel.lib</groupId>
<artifactId>neitzellib</artifactId> <artifactId>neitzellib</artifactId>
<version>1.0.4-SNAPSHOT</version> <version>1.0.4</version>
</parent> </parent>
<artifactId>gson</artifactId> <artifactId>gson</artifactId>
+2 -2
View File
@@ -8,13 +8,13 @@ The worked example is the person desk in `fx-example`, package `de.neitzel.fx.ex
## Quick start ## Quick start
Depend on the module. It brings Reflections 0.10.2 and `jakarta.inject-api` 2.0.1 (plus shared logging dependencies). The parent artifact is `de.neitzel.lib:neitzellib:1.0.3`. Java 25. Depend on the module. It brings Reflections 0.10.2 and `jakarta.inject-api` 2.0.1 (plus shared logging dependencies). The parent artifact is `de.neitzel.lib:neitzellib:1.0.4`. Java 25.
```xml ```xml
<dependency> <dependency>
<groupId>de.neitzel.lib</groupId> <groupId>de.neitzel.lib</groupId>
<artifactId>injection</artifactId> <artifactId>injection</artifactId>
<version>1.0.3</version> <version>1.0.4</version>
</dependency> </dependency>
``` ```
+1 -1
View File
@@ -7,7 +7,7 @@
<parent> <parent>
<groupId>de.neitzel.lib</groupId> <groupId>de.neitzel.lib</groupId>
<artifactId>neitzellib</artifactId> <artifactId>neitzellib</artifactId>
<version>1.0.4-SNAPSHOT</version> <version>1.0.4</version>
</parent> </parent>
<artifactId>injection</artifactId> <artifactId>injection</artifactId>
+1 -1
View File
@@ -7,7 +7,7 @@
<parent> <parent>
<groupId>de.neitzel.lib</groupId> <groupId>de.neitzel.lib</groupId>
<artifactId>neitzellib</artifactId> <artifactId>neitzellib</artifactId>
<version>1.0.4-SNAPSHOT</version> <version>1.0.4</version>
</parent> </parent>
<artifactId>log4j</artifactId> <artifactId>log4j</artifactId>
+1 -1
View File
@@ -7,7 +7,7 @@
<parent> <parent>
<groupId>de.neitzel.lib</groupId> <groupId>de.neitzel.lib</groupId>
<artifactId>neitzellib</artifactId> <artifactId>neitzellib</artifactId>
<version>1.0.4-SNAPSHOT</version> <version>1.0.4</version>
</parent> </parent>
<artifactId>net</artifactId> <artifactId>net</artifactId>
+1 -1
View File
@@ -6,7 +6,7 @@
<groupId>de.neitzel.lib</groupId> <groupId>de.neitzel.lib</groupId>
<artifactId>neitzellib</artifactId> <artifactId>neitzellib</artifactId>
<version>1.0.4-SNAPSHOT</version> <version>1.0.4</version>
<packaging>pom</packaging> <packaging>pom</packaging>
+1 -1
View File
@@ -7,7 +7,7 @@
<parent> <parent>
<groupId>de.neitzel.lib</groupId> <groupId>de.neitzel.lib</groupId>
<artifactId>neitzellib</artifactId> <artifactId>neitzellib</artifactId>
<version>1.0.4-SNAPSHOT</version> <version>1.0.4</version>
</parent> </parent>
<artifactId>quarkus</artifactId> <artifactId>quarkus</artifactId>