I think I know what your problem is: the toggleOnOff method.
Initially the boolean value of the "Test" key is false. In the method the first if statment is true so it resets the value to true. It...
Type: Posts; User: Junky
I think I know what your problem is: the toggleOnOff method.
Initially the boolean value of the "Test" key is false. In the method the first if statment is true so it resets the value to true. It...
Can you explain your problem in more details, especially what you mean by globally and locally. Technically there is no such thing as global in Java.