backend.addListener(StatusChangeListener.class,new StatusChangeListener()
{
public void connectionChanged(boolean online)
{
String proxy = Preferences.getString("filetransfer", "proxy", null);
if(proxy!=null) getProxyInfo(backend,new JID(proxy));
getProxyInfo(backend,new JID("proxy.jabber.org"));
getProxyInfo(backend,new JID("proxy65.jabber.ccc.de"));
//getProxyInfo(backend,new JID("proxy65.jabber.autocom.pl"));
getProxyInfo(backend,new JID("proxy.netlab.cz"));
//getProxyInfo(backend,new JID("proxy.jabber.cd.chalmers.se"));
getProxyInfo(backend,new JID("proxy65.jaim.at"));
}
public void ownPresenceChanged(int show, String status) {}
public void exit(){}