Removed JavaAction/Action and now call methods for key presses