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...
Type: Posts; User: yougarage
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...