the buttons are created from a List returned from port.getAvailablePorts(): (method from rxtx serial class)
for (int i = 0; i < port.getAvailablePorts().size(); i++){
...
Type: Posts; User: yougarage
the buttons are created from a List returned from port.getAvailablePorts(): (method from rxtx serial class)
for (int i = 0; i < port.getAvailablePorts().size(); i++){
...
I'm trying to remove all the buttons from a buttonGroup but I'm having problems with the argument of the remove() method defined in the API:
for(int i = 0; i <...
ok, I declared "port" in the gui class, and it works, thanks.
Just one more question...if I have two or more classes that need to "use" the same serialcommunication class, do I need to instantiate a...
here is the whole serial communication class:
import gnu.io.CommPort;
import gnu.io.CommPortIdentifier;
import gnu.io.SerialPort;
import gnu.io.SerialPortEvent;
import...
Hi I'm a beginner in java, I'm trying to make a simple program to show available serial ports in a Jmenu
I have separate classes:
- the serialCommunication class
- the gui class
- the main...