Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 755 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 755 Bytes

Example splash screen for a cljfx UI

Contributed by Ambrose Bonnaire-Sergeant

cljfx splash screen

Starting cljfx takes a little while--even with AOT-compiled sources. This example shows how to make a splash screen that loads very quickly via JavaFX preloaders.

Once cljfx is ready, the splash screen will be replaced by the cljfx UI.

Usage

Run with splash screen:

lein run

Run via uberjar:

lein uberjar
java -jar target/splash-0.1.0-SNAPSHOT-standalone.jar

Run without splash screen (interactive workflow):

lein repl
...
splash=> (-main)
#object[clojure.lang.Delay 0x74132450 {:status :pending, :val nil}]