public static void main(String[] args) throws java.net.MalformedURLException { frame = new JFrame(); frame.setSize(600, 600); frame.setTitle("Main Menu"); frame.getContentPane().setLayout(null); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); startMenu menu = new startMenu(); //This line of code below cannot be found static Sound sounds = new Sound("Human Music.wav"); menu.pickHumans(); menu.pickRobots(); menu.pickAliens(); frame.remove(menu); frame.setVisible(true); sounds.playSound(); }