changed styling of swing paragraph