Added JavaHandler example to the frames examples.