The following snippet compiles OK:
But I need to set the Character Set. The API docs and IntelliJ's Go To/Implementation confirm the required method:
msg.setText(String s, String s1)
So I try:
But IntelliJ generates an error, stating that setText(String) in Message cannot be applied. It doesn't seem to recognize that alternative method.
Thanks in advance for any help.