Hello,
I am making a Banking System, and this is the code for main.
import static java.lang.System.out;
public class BankSystem
{
public static void main (String[] args)
{
new username();
Password.setPassword("1234567");
new Password();
}
}
However, the problem is that both the username frame and password frame appears together. How do I make the username frame appear first, and after the username is authenticated?