An open API service indexing awesome lists of open source software.

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.

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
.





```