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 :-)

4 comments:
Does Preferences > Java > Appearance > Type Filters not work for you?
The type filters mentioned by Boris are exactly for this reason. I use it right now for this reason.
That's exactly what I was looking for. Thanks Boris!
Way better solution.
Hi,
Thanks for sharing. I like these types of topic and wants to read more post on this topic.
-----------
Application Development Company India
Post a Comment