anyone know how to split the text in txt file i have this...
try {
String newaccount = NewAccount.getText();
String newaccusername = NewAccUsername.getText();
String newaccpassword = NewAccPassword.getText();
FileWriter filewriter = new FileWriter(newaccount + ".txt");
BufferedWriter out = new BufferedWriter(filewriter);
out.write(newaccpassword);
out.write(newaccusername);
//out.write(newAccount);
out.close();
LabelInfo.setText("Account Registered !");
} catch (Exception ex) {
}