Transmitting a string from a java program to Ard.

Okay, so I used the example code at

http://www.arduino.cc/playground/Interfacing/Java

to allow communication between java and the arduino. It successfully receives stuff I send from the arduino to the java-side, ie. system.println("ABC") will output ABC on the java com window, but how can I transmit a string from Java to the arduino? Any ideas?

Thanks,

Charlie

Use the print commands an redirect the output to the serial port.