src/share/classes/javax/swing/plaf/synth/SynthInternalFrameTitlePane.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2002, 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) 2002, 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
*** 40,49 **** --- 40,50 ---- * * @author David Kloba * @author Joshua Outwater * @author Steve Wilson */ + @SuppressWarnings("serial") // Superclass is not serializable across versions class SynthInternalFrameTitlePane extends BasicInternalFrameTitlePane implements SynthUI, PropertyChangeListener { protected JPopupMenu systemPopupMenu; protected JButton menuButton;
*** 157,166 **** --- 158,168 ---- di.setComponentPopupMenu(null); } super.uninstallDefaults(); } + @SuppressWarnings("serial") // Superclass is not serializable across versions private static class JPopupMenuUIResource extends JPopupMenu implements UIResource { } protected void assembleSystemMenu() { systemPopupMenu = new JPopupMenuUIResource();