Hi All,
i am a mature student who is having difficulties with gui's.
Im working on a project that requires a login screen (which i have working) but on success i need to open a new frame that is already created.
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
String secretWord="Hello";
String userInput=password.getText();
if(userInput.equals(secretWord))
{
System.out.println("password correct");
//I want to open frame here
}
else
{
System.out.println("password incorrect");
}
}
The login system is simple i know but not that important can jazz it up later when i learn about databases(god help me give me cobol!!!!)
Thanks a confused learner
Kevin Nally