Replace MouseListener with MouseAdapter

MouseAdapter provides empty implementations of all listener methods, so code looks cleaner.