set default button in the swing thread