private JEditorPane buildHtmlPane() { JEditorPane pane = new ScrollTopEditorPane("text/html", ""); pane.setEditable(false); return pane; }
@Override public void setText(String t) { super.setText(t); setCaretPosition(0); } }
@Override public void setText(String t) { super.setText(t); setCaretPosition(0); } }
private JEditorPane buildHtmlPane() { JEditorPane pane = new ScrollTopEditorPane("text/html", ""); pane.setEditable(false); return pane; }