2362N/A * Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * Class that manages a JLF title bar 0N/A * @author Steve Wilson 0N/A * @author Brian Beck 0N/A * Key used to lookup Color from UIManager. If this is null, 0N/A * <code>getWindowTitleBackground</code> is used. 0N/A * Key used to lookup Color from UIManager. If this is null, 0N/A * <code>getWindowTitleForeground</code> is used. 0N/A * Key used to lookup shadow color from UIManager. If this is null, 0N/A * <code>getPrimaryControlDarkShadow</code> is used. 0N/A * Boolean indicating the state of the <code>JInternalFrame</code>s 0N/A * closable property at <code>updateUI</code> time. 0N/A // This is done here instead of in installDefaults as I was worried 0N/A // that the BasicInternalFrameUI might not be fully initialized, and 0N/A // that if this resets the closable state the BasicInternalFrameUI 0N/A // The palette close icon isn't opaque while the regular close icon is. 0N/A // This makes sure palette close buttons have the right background. 0N/A * Override the parent's method to do nothing. Metal frames do not 0N/A * have system menus. 0N/A * Override the parent's method to do nothing. Metal frames do not 0N/A * have system menus. 0N/A * Override the parent's method to do nothing. Metal frames do not 0N/A * have system menus. 0N/A * Override the parent's method avoid creating a menu bar. Metal frames 0N/A * do not have system menus. 0N/A // SystemMenuBar forces the icon to be 16x16 or less. 0N/A // assumes all buttons have the same dimensions 0N/A // these dimensions include the borders 0N/A * Updates any state dependant upon the JInternalFrame being shown in 0N/A * a <code>JOptionPane</code>. 0N/A // Don't change the closable state unless in an JOptionPane. 0N/A "OptionPane.errorDialog.titlePane.background";
0N/A "OptionPane.errorDialog.titlePane.foreground";
0N/A "OptionPane.questionDialog.titlePane.background";
0N/A "OptionPane.questionDialog.titlePane.foreground";
0N/A "OptionPane.questionDialog.titlePane.shadow";
0N/A "OptionPane.warningDialog.titlePane.background";
0N/A "OptionPane.warningDialog.titlePane.foreground";