Implemented SwingIOHandler a bit