help with jframe

0

I have an application that opens a jframe and I need that when it opens the same I block the application from behind, that does not let me touch the application after, that the focus of the application is in new jframe. What method of jframe allows me this?

    
asked by Carlos Alberto Argote Quintero 04.07.2018 в 17:59
source

1 answer

1

I think it would be using this.setVisible (false); or if you want it to be visible but not respond, put for each component ex: boton1.setEnabled (false);

    
answered by 04.07.2018 в 19:05