--- fi/hu/cs/titokone/GUIBrain.java Wed Dec 14 16:53:35 2005 +++ ../fi/hu/cs/titokone/GUIBrain.java Wed Dec 14 16:52:39 2005 @@ -30,6 +30,12 @@ */ public class GUIBrain { + +/** This variable can be set to e.g. 70 to slow down the GUI on + compilation and runtime for overly fast machines. It should + preferrably be completely replaced with a user-selectable option, + however. The value should be at minimum 0. */ +private final int SLOWDOWN = 0; /** This field contains the languages available, with the long, @@ -451,7 +457,7 @@ } else { try { - wait(70); + wait(SLOWDOWN + 1); // Add 1 to avoid the special meaning of 0. } catch(InterruptedException e) { System.out.println("InterruptedException in menuRun()"); @@ -639,7 +645,7 @@ } else { try { - wait(70); + wait(SLOWDOWN + 1); // Add 1 to avoid the special meaning of 0. } catch(InterruptedException e) { System.out.println("InterruptedException in menuRun()");