Moved ActionPerformed to the bottom