|
For both of the purposes, you can use existing apis. Java has an api (first link on google search) for serial port access. But it looks like windows support of it is dropped. It was a pain to install it but i remember, at the end i had found a working tutorial on it. Sorry but i dont have its link. It was long time ago.
For plot, search "java chart library" on google, there are several libraries and you might find your chart already supported by one of them. If not you can develop your own chart by extending them.
And for your purpose, to show the chart on an applet, i recommend you to write the data to be drawn to the file. The applet can have a thread which frequently checks the file for updates and present the new chart when data is update.
Good luck.
__________________
Want to make your IDE the best? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|