Same thing with other classes like KeyListener, MouseListener...
So I was looking for a solution, eclipse should ignore the java.awt package.
I have not found a way to handle this for the whole workspace using preferences.
I now exclude the java.awt package in all my UI bundles from their Java Build Path.
Maybe you have had the same "trouble" and never thought about getting rid of it :-)

