Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1923
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail |
|---|---|
| From | "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> |
| Subject | Re: How to scroll automat |
| Message-ID | <746c757dacd31@uwe> (permalink) |
| X-Comment-To | comp.lang.java.gui |
| Newsgroups | comp.lang.java.gui |
| In-Reply-To | <f62mo3$7q7$1@news-a.stw-bonn.de> |
| References | <f62mo3$7q7$1@news-a.stw-bonn.de> |
| Content-Type | text/plain; charset=IBM437 |
| Content-Transfer-Encoding | 8bit |
| X-Gateway | time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] |
| Lines | 45 |
| Date | Wed, 27 Apr 2011 15:36:09 GMT |
| NNTP-Posting-Host | 96.60.20.240 |
| X-Complaints-To | news@tds.net |
| X-Trace | newsreading01.news.tds.net 1303918569 96.60.20.240 (Wed, 27 Apr 2011 10:36:09 CDT) |
| NNTP-Posting-Date | Wed, 27 Apr 2011 10:36:09 CDT |
| Organization | TDS.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1923 |
Show key headers only | View raw
To: comp.lang.java.gui Till Crueger wrote: >Am Fri, 29 Jun 2007 03:18:10 +0000 schrieb Andrew Thompson: > >> You seemed to to talking about a javax.swing.JTextPane >> and now are discussing a java.awt.TextArea? >> - If so - don't mix swing with AWT. >> - if not - please be specific about the classes used. > >Ok, my bad. It is a (javax.swing.)JTextPane. I am only using swing, so >there is no mixing of AWT and swing. Good, good. >> For these sorts of things I would generally use a >> (javax.swing.)JTextArea. > >I want to be able to format the Text in later Versions, so I need a >JTextComponent that supports formated text. Right. That would require the JTextPane.. >> For a JTextComponent to scroll to current length of the content, see >> setCaretPosition()/moveCaretPosition() and variants as well as >> getText().length(). > >Ok, Thanks for your help. It is now scrolling down just fine. Now I just >have to figure out the second part, not to scroll down, when the field is >not at the bottom. Aahh.. no experience there, no time to go crashing round through the JDocs and Tutorial to find out. Good luck with that part of the problem. -- Andrew Thompson http://www.athompson.info/andrew/ Message posted via JavaKB.com http://www.javakb.com/Uwe/Forums.aspx/java-gui/200706/1 --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Find similar | Unroll thread
How to scroll automatical "Till Crueger" <till.crueger@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: How to scroll automat "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: How to scroll automat "Till Crueger" <till.crueger@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
Re: How to scroll automat "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
csiph-web