src/macosx/classes/com/apple/laf/AquaInternalFrameUI.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 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
@@ -751,10 +751,11 @@
Border getBackgroundShadowBorder() {
return getForegroundShadowBorder();
}
};
+ @SuppressWarnings("serial") // Superclass is not serializable across versions
static class CompoundUIBorder extends CompoundBorder implements UIResource {
public CompoundUIBorder(final Border inside, final Border outside) { super(inside, outside); }
}
abstract static class InternalFrameShadow extends RecyclableSingleton<Border> {
@@ -794,10 +795,11 @@
}
};
}
};
+ @SuppressWarnings("serial") // Superclass is not serializable across versions
class ResizeBox extends JLabel implements MouseListener, MouseMotionListener, MouseWheelListener, ComponentListener, PropertyChangeListener, UIResource {
final JLayeredPane layeredPane;
Dimension originalSize;
Point originalLocation;