Article View: borland.public.jbuilder.java.swing
Article #11920Re: How consuming AdjustmentEvent in my own scrollbar ?
From: Anne JANSSENS
Date: Mon, 15 Mar 1999 00:00
Date: Mon, 15 Mar 1999 00:00
7 lines
856 bytes
856 bytes
I have find a way, i don't use an AdjustmentListener, but redefine the two method getBlockIncrement(value) et getUnitIncrement(value) I am aware of the kind of event that occured, and as I return 0 in that method, the knob don't move, i can do my stuff and ask the knob to take the place I want by my_scrollbar.setValue(val)
Technical Details
Message-ID:
<7cj4sv$1vu3@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7bjrf7$22p16@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,9f905e5c1e255c94 X-Google-Attributes: gid111d45,public From: "Anne JANSSENS" <recherche@generix.fr> Subject: Re: How consuming AdjustmentEvent in my own scrollbar ? Date: 1999/03/15 Message-ID: <7cj4sv$1vu3@forums.borland.com> X-Deja-AN: 455226377 References: <7bjrf7$22p16@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