It is not a scope issue as such. When you attempt to access a variable in an outer class from within an inner class it needs to be declared as final. I bet the error message said something to that...