equal
deleted
inserted
replaced
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); |