fix incremental compilation of model
first draft of Java Swing editor integration