XML Feeds

.

[java-dev] weather station into max

Wesley Smith wesley.hoke at gmail.com
Sun Aug 12 19:19:45 MDT 2007


Sound like you need multithreading.  Luckily in JAVA this is quite
easy.  I've uploaded some code that is fairly straightforward and
shows how to do multithreading in JAVA.  In particluar, look at the
FileUploader class.  It inherits from runnable and has start(), run(),
and stop() methods for managing the thread it contains.  You can take
this class, slap your serial/USB stuff in it and it shouldn't block
Max anymore.

http://www.mat.ucsb.edu/~whsmith/AutoUpload.zip

wes


More information about the java-dev mailing list