Hi everyone,

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

StyledDocument.insertString(TextPane.getCaretPosition(),"\u25CF" + " ", null);

Will my above code be recognised on other platforms besides windows because of the unicode that i am inserting?

Any help is greatly appreciated

Thank You

Yours Sincerely

Richard West

Unicode should work. Well, why not?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.