To use Rich Client Platform property broker in the Swing components, take the following steps:
final IProperty property = ServiceManager.createProperty("customerId", "http://com.ibm.btt.rcp.sample"); final IPropertyListener listener = new IPropertyListener() { public void handlePropertyChange(IPropertyValue ipv) { if(ipv.getProperty().equals(property)){ //do some useful things } } }; ServiceManager.getPropertyBroker().addPropertyListener(listener, property);
ServiceManager.changedProperty("customerId"," http://com.ibm.btt.rcp.sample ","123456");
The following screen capture shows how to use RCP property broker to communicate with BTT Version 4.3 teller application: