}
public void actionPerformed(final ActionEvent e) {
new ZDBModifyThread("ZCommandAction") {
public void run() {
ZCommand command;
int retVal = ZCommandInitializer.COMPLETED;
int numCmds = commands.length;
for (int n = 0; n < numCmds; n++) {
command = commands[n];
if (command.getNumberOfArguments() == 0) {
try {
tryExecute(command, null);
Thread.yield();
} catch (final Exception e1) {
JOptionPane.showMessageDialog(ZoeosFrame.getInstance(), e1.getMessage(), "Command Failed", JOptionPane.ERROR_MESSAGE);