This is a work around for the EDT ui thread error overkill that results when using the Swing Substance look and feel library in conjunction with other non-EDT aware libs like seesaw, incanter, and spork, nightcode (MOST swing-based libs!). Provided are a set wrapper classes and a generator that emits clojure gen-classss that exist solely to wrap the default behavior of Substance's UI classes, ensuring that calls to createUI are actually happening on the EDT. No more spurious ui exceptions, while keeping consistent with Substance's sensitive threading model.
[sanersubstance "0.1.0-SNAPSHOT"]
sanersubstance/sanersubstance {:mvn/version "0.1.0-SNAPSHOT"}
implementation("sanersubstance:sanersubstance:0.1.0-SNAPSHOT")
<dependency> <groupId>sanersubstance</groupId> <artifactId>sanersubstance</artifactId> <version>0.1.0-SNAPSHOT</version> </dependency>
Want to display the latest version of your project on GitHub? Use the markdown code below!
If you want to include pre-releases and snapshots, use the following markdown code: