I have an application built using Swing. I want to make it a plugin in eclipse. I tried creating a view and calling this swing application but I am getting UI errors. is it not possible to create plugin which has swing components in it? Do I need to rewrite the whole code in SWT? Doesn't eclipse support swing?