if (roMode) {
splash.setMessage("Build Salsa read only panel");
splash.progress(40);
JPanel panel = new JPanel();
panel.setLayout(new BorderLayout());
final SalsaTrajectoryBean bean = new SalsaTrajectoryBean();
panel.add(bean, BorderLayout.CENTER);
if ((salsaExecute != null) && !salsaExecute.isEmpty()) {
JButton showResult = new JButton("Scan result");
showResult.setToolTipText("show current scan result");
showResult.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
salsaResult.execute();
}
});
panel.add(showResult, BorderLayout.SOUTH);
}
// display configuration combo
if ((configName == null) || configName.isEmpty()) {
splash.setMessage("Create Bookmarks combo");
splash.progress(50);
BookmarksBean combo = new BookmarksBean();
panel.add(combo, BorderLayout.NORTH);
if ((bookmark != null) && !bookmark.isEmpty()) {
combo.setBookmark(bookmark);
combo.setBookmaksComboVisible(false);
}
combo.addConfigSelectionListener(new IConfigSelectionListener() {
@Override
public void configPathChanged(String configPath) {
bean.setConfigPath(configPath);
}
});
} else {
splash.setMessage("Set configuration " + configName);
splash.progress(60);
LOGGER.info("Load configuration {}", configName);
bean.setConfigPath(configName);
}
bean.loadConfig();
splash.setMessage("Frame construction");
splash.progress(80);
StringBuilder titleBuilder = new StringBuilder("Salsa ");
try {
ResourceBundle bundle = ResourceBundle.getBundle(ApplicationView.class.getPackage().getName()