void testBtn_actionPerformed(ActionEvent e) {
		String als = aliasTF.getText();
		String drv = (String)driverListCB.getSelectedItem();
		String url = (String)urlListCB.getSelectedItem();
		String usr = userTF.getText();
		String pwd = new String(passwordTF.getPassword());
		String tqy = testQueryTF.getText();

		// Save the current cursor and replace it with the WAIT cursor
		Cursor saveCursor = this.getCursor();
		setCursor(new Cursor(Cursor.WAIT_CURSOR));

		if (drv.trim().length() > 0  &&  url.trim().length() > 0  &&
				usr.trim().length() > 0  &&  pwd.trim().length() > 0) {
			if (als.trim().length() == 0)
				als = drv + ":" + url + ":" + usr + ":" + pwd;
			als += ":_zzdummy_";
			DbDefinition dbTemp = new DbDefinition(als, drv, url, usr, pwd, tqy);
			Connection conn = ConnectionManager.GetConnection(dbTemp, false);
			JOptionPane.showMessageDialog(
					this,
					(conn == null ? ConnectionManager.GetConnectionError(dbTemp) : "Connection was successful"),
					"Test connection results",
					JOptionPane.INFORMATION_MESSAGE);
			try { conn.close(); } catch (Exception ex) { }
		}
		setCursor(saveCursor);
	}