package com.ranju.app; import java.util.Enumeration; import javax.comm.CommPortIdentifier; public class Ranjith { public static void main(String[] args) { System.out.println("HI "); Enumeration pList= CommPortIdentifier.getPortIdentifiers(); System.out.println(" ++++++++ "); //while(pList.hasMoreElements()){ CommPortIdentifier commIdfr=(CommPortIdentifier) pList.nextElement(); System.out.println(" *** "+commIdfr.getName()); //} } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)