Search:

Type: Posts; User: yougarage

Search: Search took 0.18 seconds.

  1. Replies
    2
    Views
    989

    Re: removing all buttons from buttongroup

    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++){

    ...
  2. Replies
    2
    Views
    989

    removing all buttons from buttongroup

    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 <...
  3. Re: interaction between serial rxtx and swing

    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...
  4. Re: interaction between serial rxtx and swing

    here is the whole serial communication class:



    import gnu.io.CommPort;
    import gnu.io.CommPortIdentifier;
    import gnu.io.SerialPort;
    import gnu.io.SerialPortEvent;
    import...
  5. interaction between serial rxtx and swing

    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...
Results 1 to 5 of 5