JScrollPane doesn't work?
While writing my GUI I tried to make a JScrollPane by looking through the API. When running my program however it does not work.
Here's the code I used to create a JScrollPane...
Any ideas as to why the JScrollPane isn't showing?
panel5 = new JPanel();
//Panel for getting info on student
studentNameLabel2 = new JLabel("Student Info is displayed here");
studentInfo = new JTextArea();
studentInfoScroll = new JScrollPane(studentInfo);
Thanks in advance,