Closed GoogleCodeExporter closed 9 years ago
The bug is Know because the is a comment in the source:
public void install(JEditorPane editor) {
this.pane = editor;
this.pane.addCaretListener(this);
updateSize();
// This will throw a NPE if the Ediror is not inside a JScrollPane
JScrollPane sp = getScrollPane(pane);
sp.setRowHeaderView(this);
}
Should throw a more appropriate message
Original comment by gratt...@gmail.com
on 10 Nov 2008 at 1:25
Thanks `for the report. This will be fixed shortly.
I only used NetBeans as the GUI editor, and it always encloses the JEditorPane
in a
JScrollPane. Should be more careful if this is not the case
Original comment by ayman.al...@gmail.com
on 10 Nov 2008 at 5:04
Fixed in 0.9.3a binary.
Original comment by ayman.al...@gmail.com
on 10 Nov 2008 at 5:20
Original comment by ayman.al...@gmail.com
on 10 Nov 2008 at 5:20
Ok yeah I understand. I'm using Eclipse and do all my GUI manually. I was
instanciating my JEditorPane and content type before adding it to the
JScrollPane.
Original comment by gratt...@gmail.com
on 10 Nov 2008 at 1:19
Original issue reported on code.google.com by
gratt...@gmail.com
on 10 Nov 2008 at 1:06