🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Pg Up/Dn Problem with JTextArea

#12040
From: Garth Braithwaite
Date: Thu, 25 Feb 1999 00:00
23 lines
1336 bytes
No, at least for me it does not work.  This functionality works for the AWT
TextArea.  The up and down arrow keys work just fine.  The system just beeps
when either the page up/down keys are pressed.

Sorry about all the posts on this.



Carlos Javier Castro Pena wrote in message
<36D4AAA6.72173319@ittc.ukans.edu>...
>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: <7b4em1$edu42@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36D4A79E.9E71C146@battelle.org> <36D4AAA6.72173319@ittc.ukans.edu>

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: Re: Pg Up/Dn Problem with JTextArea
Date: 1999/02/25
Message-ID: <7b4em1$edu42@forums.borland.com>
X-Deja-AN: 448461547
References: <36D4A79E.9E71C146@battelle.org> <36D4AAA6.72173319@ittc.ukans.edu>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Battelle - Ogden Operations
Newsgroups: borland.public.jbuilder.java.swing