Its a local variable that will NOT have a value when the method it is defined in exits. When the listener method is called the variable will have no value.
What value do you want the listener to...
Type: Posts; User: Norm
Its a local variable that will NOT have a value when the method it is defined in exits. When the listener method is called the variable will have no value.
What value do you want the listener to...
Did you try what was recommended in the error message: needs to be declared final
Define the variables as final.