JOptionPane.showMessageDialog(window, errorConnectingString, "Error",
JOptionPane.ERROR_MESSAGE);
}
prompt.dispose();
} else if (arg0.getActionCommand().equals("Sort")) {
sort = new SortPrompt(window, this);
sort.pack();
sort.setVisible(true);
} else if (arg0.getActionCommand().equals("Query Builder")) {
if (db.isConnected()) {
query = new QueryBuilderPrompt(db, this);