I can't seem to figure out a way for an editor kit to work for only one JTextPane. Every time I implement one, it always functions for any JTextPane in the frame.
How can I fix this?
I can't seem to figure out a way for an editor kit to work for only one JTextPane. Every time I implement one, it always functions for any JTextPane in the frame.
How can I fix this?
Why not editorPane.setEditorKit(new MyKit(())
for each of your panes?