title: Buttons not showing up in JPanel
body: <p>I'm having a ton of trouble figuring out why the buttons in this won't show? They were showing up earlier today when I test ran the program but now I've been stuck for 2 hours trying to get the buttons to show up again. It's also really weird because the panel is definitely showing up because the phrase &quot;Welcome to the BookListApp&quot; is showing up.</p>
  <pre><code>    public BookListUI() {
          textPrompt.setText(&quot;Welcome to the BookListApp, fellow bookworm. Start storing your books immediately!&quot;);
          textPrompt.setBounds(WIDTH / 2 - 300, 50,500,100);
          frame = new JFrame();
          panel = new JPanel();
  
          panel.setLayout(null);
          panel.setSize(WIDTH, HEIGHT);
          panel.add(textPrompt);
          addButtons();
          frame.setSize(WIDTH, HEIGHT);
          frame.add(panel);
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          frame.setTitle(&quot;BookList Application&quot;);
          frame.setVisible(true);
  
      }
  
      public void addButtons() {
          panel.add(new JButton(&quot;Finished books&quot;));
          panel.add(new JButton(&quot;Favorite books&quot;));
          panel.add(new JButton(&quot;Search by genre&quot;));
          panel.add(new JButton(&quot;Save all your books!&quot;));
          panel.add(new JButton(&quot;Load your BookList Application&quot;));
          panel.add(new JButton(&quot;Exit application&quot;));
      }
  
  
      public static void main(String[] args) {
          new BookListUI();
      }
  </code></pre>