🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Pg Up/Dn Problem with JTextArea

#12117
From: Carlos Javier Castro Pena
Date: Wed, 24 Feb 1999 00:00
12 lines
1025 bytes
Doesn't the JTextPane use this keys?

Garth Braithwaite wrote:

> 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: <36D4AAA6.72173319@ittc.ukans.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36D4A79E.9E71C146@battelle.org>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,ad49cbdd8eea5eb6
X-Google-Attributes: gid111d45,public
From: Carlos Javier Castro Pena <jcaspen@ittc.ukans.edu>
Subject: Re: Pg Up/Dn Problem with JTextArea
Date: 1999/02/24
Message-ID: <36D4AAA6.72173319@ittc.ukans.edu>
X-Deja-AN: 448130390
Content-Transfer-Encoding: 7bit
References: <36D4A79E.9E71C146@battelle.org>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: ITTC - University Of Kansas
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing