just experimenting with jbuttons, jtextfields and using text files. i'm trying to make a username and password input that sends the user and pass to a text file that i can read later. the problem is that when i click ok or cancel, it doesn't respond whatsoever
this is what i have so far [Java] Login - Pastebin.com
and runner which is just normal runner. thanks for your time!
import javax.swing.JFrame;
public class LoginRunner {
public static void main(String[] args) {
Login log = new Login();
log.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE) ;
log.setSize(300,100);
log.setVisible(true);
}
}