Swing interface additions.