I’ve written an easy to use FPS timer class, which can accurately calculate partial-second FPS and can average over previous FPS values. It’s based on the 1.5 System.nanoTime() but could easily be ported to use LWJGL or GAGE timer…
http://javagamesfactory.org/views/view-sourcesnippet?id=6
Hope it’s useful for someone!