0 votes

help with jframe

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

1voto

N.N. Points 126

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

HolaDevs.com

HolaDevs is an online community of programmers and software lovers.
You can check other people responses or create a new question if you don't find a solution

Powered by:

X