Basta che nell'ActionListener del tuo pulsante chiami setVisible(false) sul vecchio JFrame e crei, rendendo visibile, quello nuovo...