boolean hasAlready = sidePaneManager.hasComponent(FileUpdatePanel.NAME);
if (hasAlready) {
sidePaneManager.hideComponent(FileUpdatePanel.NAME);
sidePaneManager.unregisterComponent(FileUpdatePanel.NAME);
}
FileUpdatePanel pan = new FileUpdatePanel(frame, BasePanel.this,
sidePaneManager, getFile(), scanner);
sidePaneManager.register(FileUpdatePanel.NAME, pan);
sidePaneManager.show(FileUpdatePanel.NAME);
//setUpdatedExternally(false);
//scanner.displayResult();