Ohhh. COM4 as in a COM Serial port thingy on the back of the PC, yes? Not my thing I'm afraid, though I suspect some native calls through JNI will be involved in a solution.
I don't suppose the Hyperterminal vendor provides any kind of Java API, do they?
Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy