title: Illegal start of type error
body: <p>Could someone please help me with this? I'm having an error illegal start of type error in the line }); I am very confused on how to fix this. Any help will be extremely appreciated. The codes are below:</p>
  
  <pre><code>public SubokUlit(){
      String mgaPagkainTo[] = {"PM1 (Paa/ Spicy Paa with Thigh part)","PM2 (Pecho)","PM3 (Pork Barbeque 4 pcs.)","PM4 (Bangus Sisig)","PM5 (Pork Sisig)","PM6 (Bangus Inihaw)","SM1 (Paa)","SM2 (Pork Barbeque 2 pcs.)","Pancit Bihon","Dinuguan at Puto","Puto","Ensaladang Talong","Softdrinks","Iced Tea","Halo-Halo","Leche Flan","Turon Split"};
      JFrame frame = new JFrame("Mang Inasal Ordering System");
      JPanel panel = new JPanel();
      combo = new JComboBox(mgaPagkainTo);
      combo.setBackground(Color.gray);
      combo.setForeground(Color.red);
      panel.add(combo);
      frame.add(panel);
  
      combo.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent e){
              String str = (String)combo.getSelectedItem();
              a = str;
              if(a == "PM1 (Paa/ Spicy Paa with Thigh part)"){
                  Wew();
              }
              else if(a == "PM2 (Pecho)"){
                  Wew1(); 
              }
          });  // I am getting an error in this line
      }
  
      frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      frame.setSize(300,100);
      frame.setVisible(true);
  }
  </code></pre>