Any way to get Soft Hyphen in JTextPane?

K

KellyJ

We've localized some text into Chinese (traditional and simplified)

This text is inside a JTextPane which is in one half of a splitpane.


XXXXXXXXX[SplitPane]XXXXXXXXX
X X X
X X X
X X X
X [JTextPane] X X
X X X
X X X
X X X
XXXXXXXXXXXXXXXXXXXXXXXXXXXXX



According to our native speakers, some strings of characters which should
be able to break and wrap to the next line are being held together.

We tried using ­ and ­ but both show visibly as a hyphen in the
middle of the text.

Is there a way to allow text to break which doesn't show up in JTextPane?

-Kelly
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top