Manage panels on swing thread