Why do I keep getting an [line: 75] Error:must implement the inherited abstract method java.awt.event.ActionListener?
问题 import javax.swing.*; import java.awt.*; import java.awt.event.ActionListener; import java.awt.event.*; import java.io.*; import java.util.*; public class WetBulbByLocationFrame2 extends JFrame { public JLabel countryLabel = new JLabel("Country"); public JPanel countryPanel = new JPanel(); public JComboBox countryBox; public String [] northAmericanCountries = {"Antigua", "Aruba", "Bahamas", "Barbados", "Bermuda", "Canada", "Costa Rica", "Cuba", "Dominican Republic", "Grenada", "Guadalupe",