I’'d wish to use a PacketCollector instead of a PacketListener, because it seems to be more suitable to manage GUI updating: i mean, it seems to allow to wait for operations dedicated to update GUI are finished before doing operations on the next packet (is it right?)
Then, I’'ve searched in javadoc about how to create a PacketCollector:
PacketCollector(org.jivesoftware.smack.PacketReader packetReader, PacketFilter packetFilter)[/i]
I did not managed how to create a PacketReader object…
Could some one help me please??