i want to detect the com port number of connected device what is the java code for it???