Swing implementation of the console.