Created
January 6, 2018 22:17
-
-
Save samuelsonbrito/f679bdd31473820e39323c2d083b65be to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void carregarPortas() { | |
SerialPort[] portNames = SerialPort.getCommPorts(); | |
for (SerialPort portName : portNames) { | |
cbPortas.getItems().add(portName.getSystemPortName()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment