src/share/classes/com/sun/java/swing/plaf/windows/WindowsBorders.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 112,121 **** --- 112,122 ---- table.getInt("InternalFrame.borderWidth"))); return internalFrameBorder; } + @SuppressWarnings("serial") // Superclass is not serializable across versions public static class ProgressBarBorder extends AbstractBorder implements UIResource { protected Color shadow; protected Color highlight; public ProgressBarBorder(Color shadow, Color highlight) {
*** 142,151 **** --- 143,153 ---- /** * A border for the ToolBar. If the ToolBar is floatable then the handle grip is drawn * <p> * @since 1.4 */ + @SuppressWarnings("serial") // Superclass is not serializable across versions public static class ToolBarBorder extends AbstractBorder implements UIResource, SwingConstants { protected Color shadow; protected Color highlight; public ToolBarBorder(Color shadow, Color highlight) {
*** 245,254 **** --- 247,257 ---- /** * This class is an implementation of a dashed border. * @since 1.4 */ + @SuppressWarnings("serial") // Superclass is not serializable across versions public static class DashedBorder extends LineBorder implements UIResource { public DashedBorder(Color color) { super(color); }
*** 270,279 **** --- 273,283 ---- /** * A dashed border that paints itself in the complementary color * of the component's background color. */ + @SuppressWarnings("serial") // Superclass is not serializable across versions static class ComplementDashedBorder extends LineBorder implements UIResource { private Color origColor; private Color paintColor; public ComplementDashedBorder() {
*** 295,304 **** --- 299,309 ---- /** * This class is an implementation of the InternalFrameLine border. * @since 1.4 */ + @SuppressWarnings("serial") // Superclass is not serializable across versions public static class InternalFrameLineBorder extends LineBorder implements UIResource { protected Color activeColor; protected Color inactiveColor;