Removed printing, it was very Swing specific