/*
@test
@bug 6741526
@summary KeyboardFocusManager.setDefaultFocusTraversalPolicy(FocusTraversalPolicy) affects created components
@library ../../regtesthelpers
@build Sysout
@author Andrei Dmitriev : area=awt-focus
@run main DefaultPolicyChange_AWT
*/
public class DefaultPolicyChange_AWT {
}
private static void runTestAWT(){
/**
* Note: this call doesn't affect already created components as they have
* their policy initialized. Only new components will use this policy as
* their default policy.
**/
throw new RuntimeException("Failure! FocusTraversalPolicy should not change");
}
}
}