Replace MouseListener with MouseAdapter