ceplayer parameters

I im developing an java application to access ceplayer.exe on wince platform 5.0, im able to invoke the player from java code and able to play the media file too, but i cant make it a full screen and also i cant make the player to close automatically once the video finishes playing.