5475N/A * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. 5475N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5475N/A * This code is free software; you can redistribute it and/or modify it 5475N/A * under the terms of the GNU General Public License version 2 only, as 5475N/A * published by the Free Software Foundation. 5475N/A * This code is distributed in the hope that it will be useful, but WITHOUT 5475N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 5475N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 5475N/A * version 2 for more details (a copy is included in the LICENSE file that 5475N/A * You should have received a copy of the GNU General Public License version 5475N/A * 2 along with this work; if not, write to the Free Software Foundation, 5475N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 5475N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 5475N/A * or visit www.oracle.com if you need additional information or have any 5475N/A * Portions Copyright (c) 2012 IBM Corporation 5475N/A * @summary AccessibleTableHeader and AccessibleJTableCell should stick to 5475N/A * AccessibleComponent.getLocationOnScreen api. 5475N/A {
"row2, col1",
"row2, col2" }, };
5475N/A "JTable AccessibleTableHeader and AccessibleJTableCell test");
5475N/A // the frame is now invisible 5475N/A // test getLocationOnScreen() of 5475N/A // JTable$AccessibleJTable$AccessibleJTableHeaderCell 5475N/A // and JTable$AccessibleJTable$AccessibleJTableCell 5475N/A // getLocation() must be null according to its javadoc and no exception 5475N/A "JTable$AccessibleJTable$AccessibleJTableHeaderCell." 5475N/A +
"getLocation() must be null");
5475N/A // getLocation() must be null according to its javadoc and no exception 5475N/A +
"AccessibleJTableCell.getLocation() must be null");