Article View: borland.public.jbuilder.java.swing
Article #12118Pg Up/Dn Problem with JTextArea
From: Garth Braithwaite
Date: Wed, 24 Feb 1999 00:00
Date: Wed, 24 Feb 1999 00:00
8 lines
871 bytes
871 bytes
I have a JTextArea inside a JScrollPane. It appears that to get the keyboard Page Up/Down functionality that I have to implement a key listener for the text area and trap PgUp/PgDn and then call the appropriate routine to scroll the JScrollPane. Is this the correct way??? Is there an easier way??? What scroll method(s) do I need to call??? Thanks. Garth.
Technical Details
Message-ID:
<36D4A9CD.250BE5E6@battelle.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,ad49cbdd8eea5eb6 X-Google-Attributes: gid111d45,public From: Garth Braithwaite <braithwaite@battelle.org> Subject: Pg Up/Dn Problem with JTextArea Date: 1999/02/24 Message-ID: <36D4A9CD.250BE5E6@battelle.org> X-Deja-AN: 448130391 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing