Placed common LeaveManager Frame logic in new abstract class named LeaveManagerFrame. All LeaveManager InternalFrames should be decendants of this class.