One more thing. What I'm trying to make is Boggle. I have to read in a dictionary. Problem: I'm pretty sure it only reads the first line. I'm not sure that that's the problem, but that's the assumption. Here's the code for my reader and printer.
Code:
while((temp = readFile.readLine()) != null) {
if (checkWord(temp)) {
real.add(temp);
}
}
Code:
for (String i : real) {
System.out.println(i);
}
The checkWord method just checks to see if the word is in the board. If you can't find a problem with these two bits of code, then I'll post the code for the method.