jdk/src/share/classes/com/sun/java/swing/plaf/windows/WindowsScrollBarUI.java
changeset 23632 cd7a34d12e8c
parent 5506 202f599c92aa
child 24531 1a1a02d4a1fb
equal deleted inserted replaced
23631:f6652dee742c 23632:cd7a34d12e8c
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   271     /**
   271     /**
   272      * WindowsArrowButton is used for the buttons to position the
   272      * WindowsArrowButton is used for the buttons to position the
   273      * document up/down. It differs from BasicArrowButton in that the
   273      * document up/down. It differs from BasicArrowButton in that the
   274      * preferred size is always a square.
   274      * preferred size is always a square.
   275      */
   275      */
       
   276     @SuppressWarnings("serial") // Superclass is not serializable across versions
   276     private class WindowsArrowButton extends BasicArrowButton {
   277     private class WindowsArrowButton extends BasicArrowButton {
   277 
   278 
   278         public WindowsArrowButton(int direction, Color background, Color shadow,
   279         public WindowsArrowButton(int direction, Color background, Color shadow,
   279                          Color darkShadow, Color highlight) {
   280                          Color darkShadow, Color highlight) {
   280             super(direction, background, shadow, darkShadow, highlight);
   281             super(direction, background, shadow, darkShadow, highlight);