🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12120

Pg Up/Dn Problem with JTextArea

#12120
From: Garth Braithwaite
Date: Wed, 24 Feb 1999 00:00
9 lines
822 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: <7b29oi$akf7@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show 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: <7b29oi$akf7@forums.borland.com>
X-Deja-AN: 448136981
Organization: Battelle - Ogden Operations
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.swing