pubnub integrated with desktop java client
fixed a bug