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

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2013, 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) 1997, 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
*** 90,99 **** --- 90,100 ---- * version of Swing. A future release of Swing will provide support for * long term persistence. * * @author unattributed */ + @SuppressWarnings("serial") // Superclass is not serializable across versions public class WindowsLookAndFeel extends BasicLookAndFeel { /** * A client property that can be used with any JComponent that will end up * calling the LookAndFeel.getDisabledIcon method. This client property,
*** 2016,2025 **** --- 2017,2027 ---- * effectively a pointer down into the Win32 OS that knows how to * play the right sound. * * @since 1.4 */ + @SuppressWarnings("serial") // Superclass is not serializable across versions private static class AudioAction extends AbstractAction { private Runnable audioRunnable; private String audioResource; /** * We use the String as the name of the Action and as a pointer to