Hardcode ServerAddess into client

Hi, where would i edit the Spark client source code so that the server address is Hardcoded into it.

The problem is we are using the Spark client on a local intranet and only want users to connect to our specific server rather then having them type any one in when they login.

Thanks for any help!

I would remove the corresponding element from the login dialog and put the value in code where the dialog is called/created.

It’s probably somewhere in the src\java\org\jivesoftware\LoginDialog.java file, but I’m not sure how exactly to do it. Anybody else know exactly how?

I would like to know also. I am working on creating a Spark client for my company and would like to create an installer that would have this automatically. Thanks.

dj