a swing with a red object from a string