SyntaxFix
Write A Post
Hire A Developer
Questions
You don't need two JScrollPanes.
JScrollPanes
Example:
JTextArea ta = new JTextArea(); JScrollPane sp = new JScrollPane(ta); // Add the scroll pane into the content pane JFrame f = new JFrame(); f.getContentPane().add(sp);