src/macosx/classes/com/apple/laf/AquaInternalFrameDockIconUI.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2011, 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) 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
*** 165,174 **** --- 165,175 ---- public void componentShown(final ComponentEvent e) { fFrame.putClientProperty(CACHED_FRAME_ICON_KEY, null); } + @SuppressWarnings("serial") // Superclass is not serializable across versions class ScaledImageLabel extends JLabel { ScaledImageLabel() { super(null, null, CENTER); }
*** 224,233 **** --- 225,235 ---- public Dimension getPreferredSize() { return new Dimension(64, 64); //$ Dock preferred size } } + @SuppressWarnings("serial") // Superclass is not serializable across versions class DockLabel extends JLabel { final static int NUB_HEIGHT = 7; final static int ROUND_ADDITIONAL_HEIGHT = 8; final static int ROUND_ADDITIONAL_WIDTH = 12;