You cannot do such things in Java, for example, getting an SSID on a Wi-Fi network . This low-level hardware information cannot be obtained in Java in a cross-platform manner, and Java allows you to work only at the transport level (TCP), as well as use sockets.
If you need such information, try calling the OS command line tool using Runtime.getRuntime().exec(...) and parsing the output. But you have to deal with different OSs, which means different teams and tools.
But in the world of Applet, you cannot invoke OS command-line tools and not open files; you are in an isolated software environment that prohibits applets from performing certain low-level tasks that could jeopardize the user's computer.
If you sign your applet, you have privileges to perform the same operations as regular desktop applications, but this is beyond the scope.
Try to focus your task in a different direction.
David OlivΓ‘n Ubieto
source share