Article View: borland.public.jbuilder.java.swing
Article #11979How consuming AdjustmentEvent in my own scrollbar ?
From: Anne JANSSENS
Date: Wed, 03 Mar 1999 00:00
Date: Wed, 03 Mar 1999 00:00
18 lines
1021 bytes
1021 bytes
I want to rewrite the JScrollBar class to have my own scrollbar with a different behaviour. I handle the Adjustment event coming by a user action ( mouse ), with a listener. What I would like to do, is to consume the adjustmentEvent to check the validity of the action, and to replace the scrollbar extent at the position i'd like, and not let the myscrollbar choose its extent position following the user action (block increment, or unit increment). I have tried unsuccessfully! Has anyone any idea ?? thancks :)Anne
Technical Details
Message-ID:
<7bjrf7$22p16@forums.borland.com>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,9f905e5c1e255c94,start X-Google-Attributes: gid111d45,public From: "Anne JANSSENS" <recherche@generix.fr> Subject: How consuming AdjustmentEvent in my own scrollbar ? Date: 1999/03/03 Message-ID: <7bjrf7$22p16@forums.borland.com> X-Deja-AN: 450828410 Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Newsgroups: borland.public.jbuilder.java.swing