JFrame frame = new JFrame(500,500);
JPanel panel = new JPanel();
pane.setLayout(null);
JTextArea textarea = new JTextArea();
JScrollPane scrollpane = new JScrollPane();
scrollpane.setViewportView(textarea);
frame.add(panel);
panel.add(scrollpane);
scrollpane.setBounds(200,200,30,100);
My goal is to add a scrollpane to the textarea but it wont appear....any tips?