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?
3
Contributors
2
Replies
1 Day
Discussion Span
5 Months Ago
Last Updated
3
Views
Question Answered
Related Article:add to allow for user input
is a Java discussion thread by anglwthnati2de that has 3 replies, was last updated 7 months ago and has been tagged with the keywords: java, date.java, user, input.
there are two types of dialog box.modal and non-modal.
you can use modal dialogbox,means you have to give preference first to this modal dialog box then other dialog box is appeared.