Question: from textfile to textfield
Hi! Please help. I'm beginning to understand a bit about java thanks to this website but could you help me with this problem?
Say I create a text file "Info.txt" and I saved in it the name and address of a person. I would like to retrieve each of the data in the text file and place it in a Jtextfield name and JTExtField address then click a button so I can go to the next data in the text file. I've searched all over the internet and I couldn't find a solution or a sample at least. Could you give me a sample and I would take it a bit further on my own so I may practice. Thank you!
btw, could you make it that I would be using buffered reader instead of scanner. I think buffered reader is a bit advanced than using scanner.