I have an instance of
and I'm looking to draw shapes in it, to make "comment boxes" and help with documentation
returns null, even in a SwingUtilities.invokeLater
Is there a better way of drawing shapes in an Editor? And if not, how can I get the editor's Graphics object.