Vitor Ferreira

Vitor Ferreira

  • NA
  • 20
  • 11.5k

Java Swing - Frames

Jan 16 2016 8:46 AM
Good afternoon everyone
I'm trying to create a java applet using Swing, however I am not able to leave a background frame. I have two frames and wanted to click a button to leave this in the background frame and open a new frame without having to dispose of the former. But I do not want it to be possible to return aa previous frame and novamento click the same button to open another frame. I wanted to do something like a JOptionPane.showMessageDialog but call a frame.
Could someone help me

Answers (1)