A Java Swing simulation framework