https://github.com/edvin/fxlauncher-custom-ui
Demo project showing how to customize the FXLauncher update UI.
https://github.com/edvin/fxlauncher-custom-ui
Last synced: about 1 year ago
JSON representation
Demo project showing how to customize the FXLauncher update UI.
- Host: GitHub
- URL: https://github.com/edvin/fxlauncher-custom-ui
- Owner: edvin
- Created: 2016-09-11T09:09:32.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-04-14T00:13:24.000Z (about 7 years ago)
- Last Synced: 2025-04-04T22:43:38.784Z (about 1 year ago)
- Language: Java
- Size: 6.84 KB
- Stars: 3
- Watchers: 4
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Custom FXLauncher Update UI
This example project shows you how you can customize the look and feel of the
FXLauncher user interface.
It is recommended that you create a separate project for the custom UI to make it
easier to embed it into the `fxlauncher.jar`. Basically you implement [UIProvider](https://github.com/edvin/fxlauncher/blob/master/src/main/java/fxlauncher/UIProvider.java)
and add the `META-INF/services/fxlauncher.UIProvider` file, pointing to your implementation. See the
documentation of `UIProvider` on the previous link.
To embed custom UI, include a step in your app project where you basically
embed all the class files from the ui project into the `fxlauncher.jar`:
```xml
org.codehaus.mojo
exec-maven-plugin
1.4.0
embed-custom-ui-in-launcher
package
exec
jar
${app.dir}
uf
fxlauncher.jar
-C
${project.basedir}/../fxlauncher-custom-ui/target/classes
.
```