Yes but im using it for a button and not a class
Type: Posts; User: Java Programmer
Yes but im using it for a button and not a class
Same Code I Posted Earlier.
Im not sure how to add a throw? o.o
sorry i read that wrong, no its working but it writesover like
username: lol
password: lol
If i login with a password like lol2 the txt file will say
username: lol
password: lol2
Like i'm making a dashboard for logging in to a another window
i don't know if it should be before are after, what do you think?
Throws: IOException ?
Is There anyway to prevent this from happening?
File myFile = new File(username.getText() + ".txt");
try {
FileWriter fw = new FileWriter(myFile);
PrintWriter pw =...