2 occupants in a room

Hi community,

not know how they can get two users in a room and they can talk properly, with the same java

with the same java I mean, the 2 users have exactly the same code as if they have the same code.

If you do not have the same code does not work in java.

I have worked with QUICKBLOX.

http://stackoverflow.com/questions/16658663/thread-nullpointerexception-quickblo x-muc-chat

Someone could show me an example please?

Solved,

Works correctly in java, (“I not tried with java”)

Works well but call a error

forbidden(403)

      at org.jivesoftware.smackx.muc.MultiUserChat.getConfigurationForm(MultiUserChat.java:584)

      at MucOnlineConnect.setConfig(MucOnlineConnect.java:229)

      at MucOnlineConnect.main(MucOnlineConnect.java:134)

But program not stopped, and run well in java at least.

and I don’t like this error although work, I make code clean

How can resolve this foolishness?