I have a class which extends JFrame
.
The steps which I am going to do after I run my code are:
- Minimize the program
- Click on the icon of the program from docker to reload it
Now, I would like it to display another frame to be shown while keeping the previous frame setVisible
to false. The new frame is basically a login page where after I type in a password will it show the window which was previously minimized.