the dialog reference declaration needs to be stored in the class, not the constructor. Simply move it somewhere else not in a method. Also, you shouldn't be declaring a new JDialog, but need to get...