/*
@test
@bug 6741526
@summary KeyboardFocusManager.setDefaultFocusTraversalPolicy(FocusTraversalPolicy) affects created components
@library ../../regtesthelpers
@build Sysout
@author Andrei Dmitriev : area=awt-focus
@run main DefaultPolicyChange_Swing
*/
public class DefaultPolicyChange_Swing {
public void run (){
}
});
}
private static void runTestSwing(){
{
throw new RuntimeException("Failure! Swing toplevel must have LayoutFocusTraversalPolicy installed");
}
jf.setVisible(true);
throw new RuntimeException("Failure! FocusTraversalPolicy should not change");
}
}
}