How to print message in statusbar from a java agent

HiI can write message to status bar using lotus script but i need to print some message in the status bar using java agent. I tried to do it @evaluate(@statusbar)… but it does not works. Can any one please help me with example how to solve it? Its urgent.

Regards

Morshed

Subject: How to print message in statusbar from a java agent

for debugging use File–Tools–Show Java Debug Console