Comment on Tutorial - Read from a COM port using Java program By Steven Lim



Comment Added by : amit

Comment Added at : 2009-06-10 02:15:32

Comment on Tutorial : Read from a COM port using Java program By Steven Lim
Whne i run this code ,it does not return any ports.
the nextelement is null and therefore exits.
shouldnt ->
portList = CommPortIdentifier.getPortIdentifiers();
be some (object of CommPortIdentifier).getPortIdentifier ??


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. hi can you send me the complete working code for
View Tutorial          By: avanti at 2007-10-04 02:30:04

2. Hi Jim, to get the code for this clock, right clic
View Tutorial          By: Rajan at 2008-04-11 08:25:03

3. Oh, Thanks for your code, but I think you should a
View Tutorial          By: Songokute at 2013-01-29 13:55:13

4. input can be taken simly with Console class

View Tutorial          By: Dinesh at 2012-06-29 11:18:23

5. Thanks a lot!!!

Its very useful exp

View Tutorial          By: dipali at 2012-12-31 06:49:41

6. hello
plz tell me what can i do for sending

View Tutorial          By: mahipal at 2009-05-12 10:30:57

7. hi ,
this is prakash and i want to know how

View Tutorial          By: prakash at 2010-05-24 07:27:46

8. what are the basic requirements to send sms from p
View Tutorial          By: kanagarajan at 2008-01-02 07:52:44

9. really helpfull and gets all the stuff what u want
View Tutorial          By: yash at 2009-10-25 12:28:57

10. Hey guys it's working. If not then remove p.waitFo
View Tutorial          By: dileep at 2013-01-04 19:51:38