Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1916
| From | "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: How to scroll automat |
| Message-ID | <74676551a2050@uwe> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <f61l47$p3k$1@news-a.stw-bonn.de> |
| Date | 2011-04-27 15:36 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui Till Crueger wrote: >Hi, >I am trying to write a simple application. One part of the Application is >a chat server. For this server the incomming text should be displayed on a >JTextPane. Then I want to check if the TextArea Huhh? 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. For these sorts of things I would generally use a (javax.swing.)JTextArea. >Can you tell me what I am doing wrong, and what I have to do to get what I >want? For a JTextComponent to scroll to current length of the content, see setCaretPosition()/moveCaretPosition() and variants as well as getText().length(). -- 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 | Next 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