// Path: webwozwizard/src/com/webwoz/wizard/client/DatabaseAccess.java
// @RemoteServiceRelativePath("databaseAccess")
// public interface DatabaseAccess extends RemoteService {
// 
// 	String storeData(String sql);
// 
// 	String[][] retrieveData(String sql);
// 
// 	String getTimeStamp();
// 
// 	void closeConnection();
// 
// }


import com.webwoz.wizard.client.DatabaseAccess;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ChangeEvent;
import com.google.gwt.event.dom.client.ChangeHandler;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.CheckBox;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.ListBox;
import com.google.gwt.user.client.ui.VerticalPanel;

		databaseAccessSvc.storeData(sql, callback);

	}

	@SuppressWarnings("deprecation")
	public void turnOnCorrVisibility(int mode) {
		if (mode == 0) {
			corrList.setVisible(false);
			corrLabel.setVisible(false);
			asrPanel.setWidth("310px");
		} else {
			if (asrChk.isChecked()) {
				corrList.setVisible(true);
				corrLabel.setVisible(true);
				asrPanel.setWidth("500px");
			} else {
				corrList.setVisible(false);
				corrLabel.setVisible(false);
				asrPanel.setWidth("310px");
			}
		}
	}

	private void reloadSettings() {

		String sql = "Select * from experiment where id = " + expId;

		// Initialize the service remote procedure call
		if (databaseAccessSvc == null) {
// Path: webwozwizard/src/com/webwoz/wizard/client/DatabaseAccess.java
// @RemoteServiceRelativePath("databaseAccess")
// public interface DatabaseAccess extends RemoteService {
// 
// 	String storeData(String sql);
// 
// 	String[][] retrieveData(String sql);
// 
// 	String getTimeStamp();
// 
// 	void closeConnection();
// 
// }


// Path: webwozwizard/src/com/webwoz/wizard/client/SettingsASR.java
import com.webwoz.wizard.client.DatabaseAccess;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ChangeEvent;
import com.google.gwt.event.dom.client.ChangeHandler;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.CheckBox;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.ListBox;
import com.google.gwt.user.client.ui.VerticalPanel;


		databaseAccessSvc.storeData(sql, callback);

	}

	@SuppressWarnings("deprecation")
	public void turnOnCorrVisibility(int mode) {
		if (mode == 0) {
			corrList.setVisible(false);
			corrLabel.setVisible(false);
			asrPanel.setWidth("310px");
		} else {
			if (asrChk.isChecked()) {
				corrList.setVisible(true);
				corrLabel.setVisible(true);
				asrPanel.setWidth("500px");
			} else {
				corrList.setVisible(false);
				corrLabel.setVisible(false);
				asrPanel.setWidth("310px");
			}
		}
	}

	private void reloadSettings() {

		String sql = "Select * from experiment where id = " + expId;

		// Initialize the service remote procedure call
		if (databaseAccessSvc == null) {
			databaseAccessSvc = GWT.create(DatabaseAccess.class);