Here is my method
public static void printWithDelay(String data, long delay) {
for (char c : data.toCharArray()) {
try {
Thread.sleep(delay);
System.out.print(c);
} catch (InterruptedException e) {}
}
System.out.println();
}
So if i try to run the method with a given String, it will work at 300 milliseconds, but that is a bit too slow. I want it to run kinda like in the old pokemon games where it was printed fairly fast..
If i try to change it to under 300 milliseconds pr char, the output will just stand still until the whole String has been constructed, and then it will print the String..
Please help as this really annoys me /: