change to swing layout