/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6524757
* @summary Tests different locales
* @author Sergey Malenkov
*/
public class Test6524757 {
"ColorChooser.okText", // NON-NLS: string key from JColorChooser
"ColorChooser.cancelText", // NON-NLS: string key from JColorChooser
"ColorChooser.resetText", // NON-NLS: string key from JColorChooser
"ColorChooser.resetMnemonic", // NON-NLS: int key from JColorChooser
//NotAvail: "ColorChooser.sampleText", // NON-NLS: string key from DefaultPreviewPanel
"ColorChooser.swatchesNameText", // NON-NLS: string key from DefaultSwatchChooserPanel
"ColorChooser.swatchesMnemonic", // NON-NLS: string key from DefaultSwatchChooserPanel:int
"ColorChooser.swatchesSwatchSize", // NON-NLS: dimension key from DefaultSwatchChooserPanel
"ColorChooser.swatchesRecentText", // NON-NLS: string key from DefaultSwatchChooserPanel
"ColorChooser.swatchesRecentSwatchSize", // NON-NLS: dimension key from DefaultSwatchChooserPanel
//NotAvail: "ColorChooser.swatchesDefaultRecentColor", // NON-NLS: color key from DefaultSwatchChooserPanel
"ColorChooser.hsvNameText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.hsvMnemonic", // NON-NLS: int key from HSV ColorChooserPanel
"ColorChooser.hsvHueText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.hsvSaturationText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.hsvValueText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.hsvTransparencyText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.hslNameText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.hslMnemonic", // NON-NLS: int key from HSV ColorChooserPanel
"ColorChooser.hslHueText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.hslSaturationText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.hslLightnessText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.hslTransparencyText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.rgbNameText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.rgbMnemonic", // NON-NLS: int key from HSV ColorChooserPanel
"ColorChooser.rgbRedText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.rgbGreenText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.rgbBlueText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.rgbAlphaText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.rgbHexCodeText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.rgbHexCodeMnemonic", // NON-NLS: int key from HSV ColorChooserPanel
"ColorChooser.cmykNameText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.cmykMnemonic", // NON-NLS: int key from HSV ColorChooserPanel
"ColorChooser.cmykCyanText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.cmykMagentaText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.cmykYellowText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.cmykBlackText", // NON-NLS: string key from HSV ColorChooserPanel
"ColorChooser.cmykAlphaText", // NON-NLS: string key from HSV ColorChooserPanel
};
// it affects Swing because it is not initialized
// it does not affect Swing because it is initialized
// it definitely should affect Swing
}
}
for (int i = 0; i < count; i++) {
}
}
}
for (int i = 0; i < count; i++) {
}
return array;
}
}
}
}
}
frame.setVisible(true);
// show color chooser
dialog.setVisible(true);
// process all values
for (int i = 0; i < 5; i++) {
if (i == 0) {
}
else {
for (int j = 0; j < 3; j++) {
}
if (i == 4) {
}
if (i == 3) {
}
}
}
// close dialog
dialog.setVisible(false);
// close frame
frame.setVisible(false);
}
}
}
}