protected static void setLocalName()
	{
		EzimNetwork.localName = EzimConf.NET_LOCALNAME;

		// query username if isn't set yet
		if (EzimNetwork.localName == null || EzimNetwork.localName.length() == 0)
		{
			String strTmp = null;

			// obtain user name
			while(strTmp == null || strTmp.length() == 0)
			{
				strTmp = JOptionPane.showInputDialog
				(
					EzimLang.PleaseInputYourName
				);
			}

			EzimNetwork.localName = strTmp;

			// save username
			EzimConf.NET_LOCALNAME = EzimNetwork.localName;

			EzimConf.write();
		}
	}