Is there a way to add a callback function / listen to an event right after my window is done drawing? something like onFinishedDrawing()?

I'm curious if there is.. If not, what's the best way to measure my applications 'start time'? I'm trying to optimize that but have no way of measuring how much time it takes for my application to start..

Please help and excuse my JFace n00bness :)