removed swing dependencies from all packages except ..ui.swing