599N/A/*
2362N/A * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
599N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
599N/A *
599N/A * This code is free software; you can redistribute it and/or modify it
599N/A * under the terms of the GNU General Public License version 2 only, as
599N/A * published by the Free Software Foundation.
599N/A *
599N/A * This code is distributed in the hope that it will be useful, but WITHOUT
599N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
599N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
599N/A * version 2 for more details (a copy is included in the LICENSE file that
599N/A * accompanied this code).
599N/A *
599N/A * You should have received a copy of the GNU General Public License version
599N/A * 2 along with this work; if not, write to the Free Software Foundation,
599N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
599N/A *
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
2362N/A * questions.
599N/A */
599N/A
599N/A/*
599N/A * @test
599N/A * @bug 4887836
599N/A * @summary Checks if no tooltip modification when no KeyStroke modifier
599N/A * @author Konstantin Eremin
599N/A * @run applet/manual=yesno Test4887836.html
599N/A */
599N/A
599N/Aimport java.awt.Color;
599N/Aimport java.awt.Font;
599N/Aimport javax.swing.JApplet;
599N/Aimport javax.swing.JColorChooser;
599N/Aimport javax.swing.UIManager;
599N/A
599N/Apublic class Test4887836 extends JApplet {
599N/A public void init() {
599N/A UIManager.put("Label.font", new Font("Perpetua", 0, 36)); // NON-NLS: property and font names
599N/A add(new JColorChooser(Color.LIGHT_GRAY));
599N/A }
599N/A}