Maybe this?
http://www.ccdscanner.net/barcode-scanner-rs232-wisnap-wifi-rs232-serial-adapter-with-osx-and-javaterm.html
It uses Java IO. Maybe you could find the program used?
cc11rocks
EDIT : The program they use is "JavaTerm" I believe. It is for all platforms and is made in Java. Maybe you'll figure something out with this?
http://serialio.com/support/jspJavaTerm.php
EDIT (2) : In this next article, I found these (Same website, different webpage) :
http://serialio.com/products/serialport/packages.php
"Java Source Code for JavaTerm application." Under "Standard". Search for this when you go the site. Good luck!
"Java Source code for javax.comm.SerialPort implementation." & "Java Source code for modem classes." Under "Enterprise Windows Pack".
"Java Source code for javax.comm.SerialPort implementation." & "Java Source code for modem classes." Under "Enterprise Unix Pack".
"Java Source code for javax.comm.SerialPort implementation." & "Java Source code for modem classes." Under "Enterprise Mac Pack".
I also found more things related to "Source code" on the page
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)