blob: 0fbbf6760307007c2c2e77e69436797f70642b02 [file]
/*
* Copyright (c) 1998, 2023, Oracle and/or its affiliates. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* - Neither the name of Oracle nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package resources;
import java.util.ListResourceBundle;
public class TableRowTest extends ListResourceBundle {
public Object[][] getContents() {
return contents;
}
// LOCALIZE THIS
// note: probably don't need to localize integers and booleans
static Object[][] data = {
{"Mark", "Andrews", "Red", Integer.valueOf(2), Boolean.valueOf(true)},
{"Tom", "Ball", "Blue", Integer.valueOf(99), Boolean.valueOf(false)},
{"Alan", "Chung", "Green", Integer.valueOf(838), Boolean.valueOf(false)},
{"Jeff", "Dinkins", "Turquois", Integer.valueOf(8), Boolean.valueOf(true)},
{"Amy", "Fowler", "Yellow", Integer.valueOf(3), Boolean.valueOf(false)},
{"Brian", "Gerhold", "Green", Integer.valueOf(0), Boolean.valueOf(false)},
{"James", "Gosling", "Pink", Integer.valueOf(21), Boolean.valueOf(false)},
{"David", "Karlton", "Red", Integer.valueOf(1), Boolean.valueOf(false)},
{"Dave", "Kloba", "Yellow", Integer.valueOf(14), Boolean.valueOf(false)},
{"Peter", "Korn", "Purple", Integer.valueOf(12), Boolean.valueOf(false)},
{"Phil", "Milne", "Purple", Integer.valueOf(3), Boolean.valueOf(false)},
{"Dave", "Moore", "Green", Integer.valueOf(88), Boolean.valueOf(false)},
{"Hans", "Muller", "Maroon", Integer.valueOf(5), Boolean.valueOf(false)},
{"Rick", "Levenson", "Blue", Integer.valueOf(2), Boolean.valueOf(false)},
{"Tim", "Prinzing", "Blue", Integer.valueOf(22), Boolean.valueOf(false)},
{"Chester", "Rose", "Black", Integer.valueOf(0), Boolean.valueOf(false)},
{"Ray", "Ryan", "Gray", Integer.valueOf(77), Boolean.valueOf(false)},
{"Georges", "Saab", "Red", Integer.valueOf(4), Boolean.valueOf(false)},
{"Willie", "Walker", "Phthalo Blue", Integer.valueOf(4), Boolean.valueOf(false)},
{"Kathy", "Walrath", "Blue", Integer.valueOf(8), Boolean.valueOf(false)},
{"Arnaud", "Weber", "Green", Integer.valueOf(44), Boolean.valueOf(false)},
{"Mark", "Andrews", "Red", Integer.valueOf(2), Boolean.valueOf(true)},
{"Tom", "Ball", "Blue", Integer.valueOf(99), Boolean.valueOf(false)},
{"Alan", "Chung", "Green", Integer.valueOf(838), Boolean.valueOf(false)},
{"Jeff", "Dinkins", "Turquois", Integer.valueOf(8), Boolean.valueOf(true)},
{"Amy", "Fowler", "Yellow", Integer.valueOf(3), Boolean.valueOf(false)},
{"Brian", "Gerhold", "Green", Integer.valueOf(0), Boolean.valueOf(false)},
{"James", "Gosling", "Pink", Integer.valueOf(21), Boolean.valueOf(false)},
{"David", "Karlton", "Red", Integer.valueOf(1), Boolean.valueOf(false)},
{"Dave", "Kloba", "Yellow", Integer.valueOf(14), Boolean.valueOf(false)},
{"Peter", "Korn", "Purple", Integer.valueOf(12), Boolean.valueOf(false)},
{"Phil", "Milne", "Purple", Integer.valueOf(3), Boolean.valueOf(false)},
{"Dave", "Moore", "Green", Integer.valueOf(88), Boolean.valueOf(false)},
{"Hans", "Muller", "Maroon", Integer.valueOf(5), Boolean.valueOf(false)},
{"Rick", "Levenson", "Blue", Integer.valueOf(2), Boolean.valueOf(false)},
{"Tim", "Prinzing", "Blue", Integer.valueOf(22), Boolean.valueOf(false)},
{"Chester", "Rose", "Black", Integer.valueOf(0), Boolean.valueOf(false)},
{"Ray", "Ryan", "Gray", Integer.valueOf(77), Boolean.valueOf(false)},
{"Georges", "Saab", "Red", Integer.valueOf(4), Boolean.valueOf(false)},
{"Willie", "Walker", "Phthalo Blue", Integer.valueOf(4), Boolean.valueOf(false)},
{"Kathy", "Walrath", "Blue", Integer.valueOf(8), Boolean.valueOf(false)},
{"Arnaud", "Weber", "Green", Integer.valueOf(44), Boolean.valueOf(false)}
};
// END OF MATERIAL TO LOCALIZE
static final Object[][] contents = {
{"TableData", data } // array for table data
};
}