[gui][PATCH] JComboBox - mouse drag events
Olga Rodimina
rodimina@redhat.com
Wed Sep 29 18:42:00 GMT 2004
On Tue, 2004-09-28 at 14:15, Tom Tromey wrote:
> >>>>> "Olga" == Olga Rodimina <rodimina@redhat.com> writes:
>
> Olga> + /** direction for scrolling down list of combo box's items */
> Olga> protected static int SCROLL_DOWN = 1;
> Olga> +
> Olga> + /** direction for scrolling up list of combo box's items */
> Olga> protected static int SCROLL_UP = 0;
>
> These should both be `final'.
Here is the patch that fixes this problem.
I will be committing it to java-gui-branch.
* javax/swing/plaf/basic/BasicComboPopup.java
(SCROLL_DOWN): made final.
(SCROLL_UP): made final.
Thanks,
Olga.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-patch
Size: 935 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040929/652fad83/attachment.bin>
More information about the Java-patches
mailing list