5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome * Copyright (c) 2005, 2007, Oracle and/or its affiliates. All rights reserved.
cda73f64f20b8a0afc4909f5ea1f055ec7913856Toomas Soome * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
cda73f64f20b8a0afc4909f5ea1f055ec7913856Toomas Soome * This code is free software; you can redistribute it and/or modify it
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome * under the terms of the GNU General Public License version 2 only, as
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome * published by the Free Software Foundation.
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome * This code is distributed in the hope that it will be useful, but WITHOUT
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome * version 2 for more details (a copy is included in the LICENSE file that
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome * accompanied this code).
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome * You should have received a copy of the GNU General Public License version
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome * 2 along with this work; if not, write to the Free Software Foundation,
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
cda73f64f20b8a0afc4909f5ea1f055ec7913856Toomas Soome * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome * or visit www.oracle.com if you need additional information or have any
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome * questions.
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome @bug 5010944 6248072
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome @summary List's rows overlap one another
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome @author Dmitry Cherepanov area=awt-list
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome list.setFont( new Font( "SansSerif", Font.PLAIN, 30 ) );
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome "1) Click on the 'Enlarge font' button to enlarge font of the list.",
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome "2) If you see that the rows of the list overlap one another "+
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome "then the test failed. Otherwise, goto to the step 3.",
5ffb0c9b03b5149ff4f5821a62be4a52408ada2aToomas Soome "3) Click on the 'Change mode' button to set multiple-selection mode.",
setVisible(true);
validate();
pack();
setVisible(true);