src/share/classes/javax/swing/plaf/basic/BasicSliderUI.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1997, 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) 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
*** 1892,1901 ****
--- 1892,1902 ----
* Please refer to the key bindings specification for further details.
* <p>
* This class should be treated as a "protected" inner class.
* Instantiate it only within subclasses of <code>Foo</code>.
*/
+ @SuppressWarnings("serial") // Superclass is not serializable across versions
public class ActionScroller extends AbstractAction {
// NOTE: This class exists only for backward compatibility. All
// its functionality has been moved into Actions. If you need to add
// new functionality add it to the Actions, but make sure this
// class calls into the Actions.
*** 1925,1934 ****
--- 1926,1936 ----
/**
* A static version of the above.
*/
+ @SuppressWarnings("serial") // Superclass is not serializable across versions
static class SharedActionScroller extends AbstractAction {
// NOTE: This class exists only for backward compatibility. All
// its functionality has been moved into Actions. If you need to add
// new functionality add it to the Actions, but make sure this
// class calls into the Actions.