title: JOptionPane with Eclipse in Java not working
body: <p>I'm using <code>JOptionPane</code> with <code>Eclipse</code> in <code>Java</code> not working.</p>
  
  <p>This is my code:</p>
  
  <pre><code>import java.util.Scanner;
  import javax.swing.JOptionPane;
  
  public class GarzaELE24 {
  
  
       public static void main(String[] args) { 
       int x; // team score
       int y; // score
  
       y = 13;
  
       //create scanner object
       Scanner input = new Scanner(System.in);
  
       //prompt receive inputs from keyboard
       System.out.printf("%s%n", "Please enter your team's "
                          + "final score for the super"
                          + "bowl game:  ");     
       x = input.nextInt();
  
      String input = JOptionPane.showMessageDialog(null, "Congratulations 2019 Super Bowl Champions!");     
      if(x &gt;= y){
  
  
       }
       else {
  
         JOptionPane.showMessageDialog(null, "Better luck next time!");}
  
       }
  }
  </code></pre>