Article View: borland.public.jbuilder.java.swing
Article #1262S: turn off line wrap
From: Envoy
Date: Wed, 03 Mar 2004 11:15
Date: Wed, 03 Mar 2004 11:15
17 lines
1099 bytes
1099 bytes
Hi, im want to use a JTextPane in my programm. Is there a way to turn off the automatic line wrap when the text I typed reaches the end of the line? With a JTextArea it is done with "setLineWrap(false)", but this method doesn't exist in the JTextPane class. So how can I disable it? Thanks for your help, Andreas -- -TheNewOne- Mail: TheNewOne@freakmail.de
Technical Details
Message-ID:
<MPG.1aafdca469aaa935989692@news.individual.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!c336-1.fem.tu-ilmenau.DE!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,3c3137cd57242084,start X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2004-03-03 03:14:57 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!c336-1.fem.tu-ilmenau.DE!not-for-mail From: Envoy <thenewone@freakmail.de> Newsgroups: borland.public.jbuilder.java.swing Subject: S: turn off line wrap Date: Wed, 3 Mar 2004 12:15:06 +0100 Organization: NMIContact Lines: 17 Message-ID: <MPG.1aafdca469aaa935989692@news.individual.net> NNTP-Posting-Host: c336-1.fem.tu-ilmenau.de (141.24.48.108) X-Trace: news.uni-berlin.de 1078312495 58279843 I 141.24.48.108 ([72592]) X-Newsreader: MicroPlanet Gravity v2.50