I am trying to insert some unicode into a JTextPane document but i have a concern as to whether the unicode will be recognized on other platform besides windows.
This is what i did
Will my above code be recognised on other platforms besides windows because of the unicode that i am inserting?
StyledDocument.insertString(TextPane.getCaretPosition(),"\u25CF" + " ", null);
Any help is greatly appreciated
If you replace the space character (" ") with an unicode then your code will be work fine everywhere.