private JTextPane buildEditor() { // build the editor pane JTextPane ta = makeTextPane(true); ta.setBorder(BorderFactory.createEmptyBorder(2, 5, 2, 5)); return ta; }