Java Swing interface.