Can the same boolean statement work in multiple classes? Do you have to set it to 'private static boolean'?
  
  
            public class example {
    private boolean exampleVariable;
    public boolean getExampleVariable() {
        return exampleVariable;
    }
    public void setExampleVariable(boolean exampleVariable) {
         this.exampleVariable = exampleVariable;
    }
}