Deprecated doesn't mean it doesn't work, it mostly means you shouldn't use it. Do a find replace for show() with setVisible(true)