Why does the JScrollPane not appear around my JTextField?
<p><p>
I'm pretty new to GUI but I'm trying to create a simple version of notepad and would like scroll bars to appear around the text area. However, I'm not sure why it isn't appearing.</p>

<pre><code>public class NutPad extends JPanel {

public static void main(String[] args) {

    JFrame frame = new JFrame("NutPad");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.getContentPane().add(new NutPad(), BorderLayout.CENTER);
    frame.setSize(500,300);
    frame.setVisible(true);
}

private NutPad() {
    add(makeTextAreaPanel());

}

private JPanel makeTextAreaPanel() {
    JPanel textAreaPanel = new JPanel();
    textAreaPanel.setSize(100,100);

    JTextArea textArea = new JTextArea(20, 60); //15,43
    JScrollPane scrollPane = new JScrollPane(textArea); 

    textAreaPanel.add(scrollPane,BorderLayout.CENTER);
    textAreaPanel.add(textArea);

    return textAreaPanel;
}

}
</code></pre>

<p>Thanks</p>