Fixed import statements

java.swing.* should have actually been javax.swing.*