Я не могу добавить полосу прокрутки на EditorPane.Добавить полосу прокрутки в JEditorPane, setLayout null
private JEditorPane editorPane;
private JScrollPane scrollpane;
Контейнер:
Container c = getContentPane();
c.setLayout(null);
setBounds(100, 100, 450, 300);
editorPane = new JEditorPane();
editorPane.setBounds(0, 54, 434, 208);
scrollpane = new JScrollPane(editorPane);
scrollpane.setPreferredSize(new Dimension(350, 110));
c.add(scrollpane);
.. .. ничего не было добавлено