🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: URGENT : JScrollBar and BLOCK_INCREMENT,DECREMENT, UNIT_INCREMENT,DECREMENT problems

#12188
From: Matt Krevs
Date: Thu, 11 Feb 1999 00:00
23 lines
1243 bytes
Try
getModel().addChangeListener()

I think this is the listener you are looking for

Anne JANSSENS wrote in message <79s56v$bbn5@forums.borland.com>...
>I have using two scrollbars (horizontal and vertical) and i would like to
>catch the event occured when
>i pressed page_up, page_down, line_up and line_down.
>
>But when i register a addAdjustmentListener, the only event i catch is a
>TRACK event that indicates that the cursor is dragged, is not enough to let
>me do the stuff on my component !!!
>
>Is there someone who could tell me how to be aware that the user have made
a
>page_down, page_up ....???
>
>Any answer would be very appreciated !
>
>:) Anne
>
>
Technical Details
Message-ID: <79stjs$dhp7@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <79s56v$bbn5@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,e01f6a057e7eb28
X-Google-Attributes: gid111d45,public
From: "Matt Krevs" <mattkrevs@flex.com.au>
Subject: Re: URGENT : JScrollBar and BLOCK_INCREMENT,DECREMENT, UNIT_INCREMENT,DECREMENT problems
Date: 1999/02/11
Message-ID: <79stjs$dhp7@forums.borland.com>
X-Deja-AN: 442970506
References: <79s56v$bbn5@forums.borland.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing