I've just started studying java, and I am doing a small program for school. I've searched everywhere and read dozens of tutorials, but I don't seem to find help anywhere. So any help is really appreciated.
I'd like to do a "Random name generator", which generates random name couples (first name + last name) from names in text files. Text files are called firstnames.txt and lastnames.txt, and there are one name per line in those files. I read about something called ScriptChooser, but since it doesn't belong to the basic JDK I have, I can't use it. But I'm looking for a way to do the same thing otherwise.
I really do value all the help I can get. So if you know anything about this, please help, any links to tutorials or codes or anything are more than welcome! :)
I recommend checking out the File I/O section of the Java Tutorial. ( http://java.sun.com/docs/books/tutorial/essential/io/filestreams.html ) It will tell you what you need to know to get the data from the text files. The tutorial is a great resource in general for learning Java.
Load it up into the data structure of your choice (e.g. String arrays), and you're most of the way there.