commented out cod with swing so that I could compile project with Aide