Hej,
My poor application has been working with a JEditorPane but after adding this:
edit.setContentType("text/rtf");
The following call has been unexpectedly returning null:
edit.getText();
Documentation says that .getText() returns the text contained in this TextComponent in terms of the content type of this editor.
What does it mean by 'in terms of' and why do you think I might be getting a null?
Many thanks!
--Glen
Memoria mihi benigna erit qui eam perscribam
My poor application has been working with a JEditorPane but after adding this:
edit.setContentType("text/rtf");
The following call has been unexpectedly returning null:
edit.getText();
Documentation says that .getText() returns the text contained in this TextComponent in terms of the content type of this editor.
What does it mean by 'in terms of' and why do you think I might be getting a null?
Many thanks!
--Glen
Memoria mihi benigna erit qui eam perscribam