Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    6
    Views
    2,564

    Re: interaction between serial rxtx and swing

    You probably only want to have one instance of the class for each serial port you are connecting to.
  2. Replies
    6
    Views
    2,564

    Re: interaction between serial rxtx and swing

    Where is the variable: port defined? Is it scope where you are trying to use it?

    A variable defined in a method is only available to code in that method. Define the variable at the class...
  3. Replies
    6
    Views
    2,564

    Re: interaction between serial rxtx and swing

    You should move most of the code out of the main() method into a non static method in the class.
    Have the main() method only call the class's constructor.

    If this is not it, post the code with...
Results 1 to 3 of 3