In JFrame, when I click "login", I output another Jframe, which is the login window.
How to make my main Jframe wait for my Jframe login before doing anything else?
Just use a modal dialog instead of a frame, so you cannot do anything until it is closed
see http://mindprod.com/jgloss/modal.html for an explanation and see http://www.java2s.com/Tutorial/Java/0240__Swing/ASimpleModalDialog.htm for sample code
JFrame, . , .
, , , :
JFrame JFrame?
, - .
ActionListener
actionPerformed
, , .
Use a JModalFrame instead of a JFrame.
Source: https://habr.com/ru/post/1724158/More articles:Factor Analysis in R - rSymfony table widget - symfony1How to get a maximum of more than two numbers in Visual C #? - functionPrivate methods using .NET reflection. What for? - reflectionPHP - UPLOAD_ERR_NO_TMP_DIR - phpHow to get the final result in the viewed results? - sqlDoes asp.net have a function for checking email addresses? - emailС++: ошибка компиляции для переадресации оператора шаблона - c++Call a method in a class or pass it as a parameter to another class? C # - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1724163/enhancements-to-programming-languages-that-had-to-be-withdrawn-after-release&usg=ALkJrhioqW0g37AiQQV5nsNvqFlqnKf9YgAll Articles