--- In
Robocode@..., "asherbaig" <devilvsevil@...> wrote:
>
> Hi, Developers.
>
> Please i need your help in urgent.I want to take the screenshot during
> the battle using the key "CRTL P".
> I need suggestion from you ppl.How to do it and where can i put it.And
> what are code i need to implement it.
>
> Please help !
>
You can use the Robot Class
(
http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Robot.html) to press
keystrokes in the battle.
Hope that helps! (: