why it is not possible to set the layer to be on top through the event?

i need this in java mobile... pls help