Moved to implementing componentListener