Java view 2