title: Why doesn't my JFrame show up?
body: <p>I'm trying to make a solved sudoku puzzle show up in a window with 81 boxes. I did this:</p>
  
  <pre><code>import java.awt.GridLayout;
  import java.awt.*;
  
  import javax.swing.JFrame;
  import javax.swing.JLabel;
  
  
  public class GraphicSolver extends JFrame {
  
  GraphicSolver(int[][] spelplan) {
  
      Panel panel = new Panel(new GridLayout(9,9));
  
      for(int i=9;i&lt;9;i++){
          for(int x=0;x&lt;9;x++){
              panel.add(new JLabel(""+spelplan[i][x]));
          }
      }
  
      Frame frame = new Frame();
      frame.add(panel);
  
  
      frame.setVisible(true);
  
  }
  }
  </code></pre>
  
  <p>However, it only gives me an empty window without any numbers. I'd be pleased if someone could point me in the right direction.</p>