That's so weird. Right now I'm running on Ubuntu with Java 1.7, but I get the same problem when I run it on Windows 7 with Java 1.7. Do you have any idea why they would be different?
Type: Posts; User: kcaz
That's so weird. Right now I'm running on Ubuntu with Java 1.7, but I get the same problem when I run it on Windows 7 with Java 1.7. Do you have any idea why they would be different?
When you run it, does the very long word wrap to the next line, or is it just cut off?
Ok, I have made a small program that demonstrates the problem. It is written using the Netbeans Swing editor, as is the program that has this same problem.
If you run the program, when you type in...
Hi, I have a question about the wrapping of JTextPanes. I have JTextPane inside a JScrollPane, and the way wrapping works is a little weird. Basically I want something like in Word: when you add text...