How do I set the contents of a JTextPane
to a String array
? I'm making a memorization application that removes random words that a user enters in a JTextPane
and replaces it with underscores. I want to convert what the user enters to a string array
with each index being a separate word.
Does anybody have any ideas of how to accomplish this?
Any and all help is appreciated!