I am currently working on my final year project at the University. I am developing a LAN messager program in JAVA. I would like to use the computer names as the usernames and the workgroups as the chatroom names. So far I don't have problems retrieving the computer names but the problem is with retrieving the workgroup names. Any assistance will be highly appreciated. Thank you in advance.