Programming Tutorials

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



Comment Added by : PeteC

Comment Added at : 2014-02-22 18:57:14

Comment on Tutorial : Read from a COM port using Java program By Steven Lim
I am running it within NetBeans. I set a breakpoint at:
portlist=CommPortIdentifier.getPortIdentifiers():
I do F& and is shows:
public static SecurityManager getSecurityManager(){
return security
but security is null so portlist becomse null and the program ends.
Any idea how to get past this?
Thanks,


View Tutorial