|
#1
|
|||
|
|||
|
Code: --------- Enumeration portList=CommPortIdentifier.getPortIdentifiers(); CommPortIdentifier cpi; while( portList.hasMoreElements() ) { cpi=(CommPortIdentifier)portList.nextElement(); System.out.println( cpi.getName() ); }
__________________
Java domain name forum |
|
|