Extensions to swing which are not in Sun's swing package.

@Status Stable.