I\'ve been trying to figure this out, I\'ve run it in different programs so it\'s definitely in the code. Probably something easy too. The error says
password
is a local variable declared in the constructor of Password2. It is not in scope in your EnterButtonHandler.actionPerformed method. Make it an instance variable to resolve.
EnterButtonHandler.actionPerformed method