tags:

views:

264

answers:

3

Hi, I'm beginner in java,i have to read COM port and the data should be displyaed inside the TextArea dynamicaly(data will come for every 1 min)which i have created inside JPanel.plz help me i'm not getting how to do...

Advance Thanks for reply

+2  A: 

Some leads:

VonC
+1  A: 

For reading from the serial port, have a look at the javacomm API here: http://java.sun.com/products/javacomm/

The User's Guide has more information and some example code: http://java.sun.com/products/javacomm/reference/docs/API_users_guide_3.html

lemnisca
A: 

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.

Ken Gentle