Added JFrame.dispose()