| Author |
how to turn off the word wrap in jeditorpane?
|
naved momin
Ranch Hand
Joined: Jul 03, 2011
Posts: 675
|
|
my jeditorpane automatically wrap the words ..i dont want that , all i want is a horizontal bar to appear and user can write as long as he can
how to do that
i have tried couple of methods like
i have override the getScrollableTracksViewportWidth() but that didnt help , does any one know how i can turn off the word wrap ?
|
The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 4167
|
|
|
naved, I think you've been around long enough and have posted enough threads in the Swing / AWT / SWT / JFace to know of its existence. So why did you start this in Java in General?
|
luck, db
There are no new questions, but there may be new answers.
|
 |
Rob Camick
Ranch Hand
Joined: Jun 13, 2009
Posts: 1790
|
|
cross posted: http://stackoverflow.com/questions/8960732/how-to-turn-off-word-wrap-in-jeditorpane
Be Forthright When Cross Posting to Other Sites
|
 |
naved momin
Ranch Hand
Joined: Jul 03, 2011
Posts: 675
|
|
soory, i don't know about cross posting, i have no intentions to hurt you guys, you are great and next time i will keep in mind about cross posting
|
 |
 |
|
|
subject: how to turn off the word wrap in jeditorpane?
|
|
|