public void connect() {
TangoKey key = new TangoKey();
TangoKeyTool.registerAttribute(key, "tango/tangotest/titan/State");
stringBox.connectWidget(state1, key);
IKeyGenerator simulatedKey = new SimulatedKeyGenerator();
stringBox.connectWidget(state2, simulatedKey.getStringScalarKey());
stringBox.connectWidget(textField, simulatedKey.getStringScalarKey());
TangoKey attributeWritekey = new TangoKey();
TangoKeyTool.registerWriteAttribute(attributeWritekey, "tango/tangotest/titan", "ampli");
stringBox.connectWidget(combo, attributeWritekey);
stringBox.setConfirmation(combo, true);
combo.setDisplayedList(new String[] { "Valeur 0", "Valeur 1", "Valeur 2", "Valeur 3" });
combo.setValueList((Object[]) new String[] { "0", "1", "2", "3" });
TangoKey attributekey = new TangoKey();
TangoKeyTool.registerAttribute(attributekey, "tango/tangotest/titan", "ampli");
stringBox.connectWidget(textField2, attributekey);
matrixBox.connectWidget(table, simulatedKey.getImageNumberMatrixKey());
}