You shouldn't really access fields directly from another class and also getRegion() is overrideable and Netbeans was telling me to change it, also getRegion() uses field calls so using the local variable is quicker