REPL console swing code added