swing support for JDK7