6982753: javax/swing/JTextArea/6940863/bug6940863.java should be modified

Reviewed-by: alexp
This commit is contained in:
Sergey Malenkov 2010-09-30 20:21:55 +04:00
parent 836de5036c
commit 55c5ae3011

View File

@ -56,6 +56,7 @@ public class bug6940863 {
public static void main(String[] args) throws Exception {
if (OSInfo.getOSType() != OSInfo.OSType.WINDOWS) {
System.out.println("The test is suitable only for Windows OS. Skipped");
return;
}
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");