* @param event <tt>PluginComponentEvent</tt> that notified us
*/
public void pluginComponentAdded(PluginComponentEvent event)
{
PluginComponent pluginComponent = event.getPluginComponent();
Container containerID = pluginComponent.getContainer();
/*
// avoid early creating of components by calling getComponent
Object component = pluginComponent.getComponent();
if (!(component instanceof Component))
return;
*/
if (containerID.equals(Container.CONTAINER_MAIN_TOOL_BAR)
|| containerID.equals(Container.CONTAINER_ACCOUNT_SOUTH))
{
this.revalidate();
this.repaint();
}
}