I created a JList that had JTextAreas which word wrapped appropriately when setLineWrap(true); setWrapStyleWord(true); was used. These aren’t available for JTextPane and my god forsaken text isn’t wrapping. Any advise?
I created a JList that had JTextAreas which word wrapped appropriately when setLineWrap(true); setWrapStyleWord(true);
Share
USe this example to implement your own wrap in JTextPane
http://java-sl.com/wrap.html