I'm still a bit unclear of the behavior you want, but you can add a panel to the inset of the editor. Google "line numbers in JEditorPane" and you will see how to add line numbers...adding other...
Type: Posts; User: copeg
I'm still a bit unclear of the behavior you want, but you can add a panel to the inset of the editor. Google "line numbers in JEditorPane" and you will see how to add line numbers...adding other...
If I understand your problem correctly, you may wish to look into using an an OverlayLayout, in which you can place a component on top of the editor pane (set opaque to false so it appears...