add some swing stuff