added a swing panel to the tool window