public void saveScriptAction() throws Exception {
int row = actionTable.getSelectedRow();
if ((row >= 0) && (row < actionList.size())) {
ActionList lActionList = new ActionList();
lActionList.loadFromString(scriptActionTextArea.getText());
actionList.remove(row);
for (Action action : lActionList) {
if (row < actionList.size())
actionList.add(row, action);
else