reading COM port value and printing in textArea which located inside the panel in java

后端 未结 3 766
旧巷少年郎
旧巷少年郎 2021-01-25 08:02

I have to read a COM port and the data should be displayed inside the TextArea dynamically (data will come every minute), which I have created inside JPanel.

Advance Tha

3条回答
  •  天命终不由人
    2021-01-25 08:55

    For a multi-platform application, look into rxtx.

    javax.comm has not had active development for a number of years. The rxtx project has a compatible api as well as a more feature rich gnu package API.

    There are examples with the source code and in the Wiki.

提交回复
热议问题