added scala swing as a dependency