Basic animation in LWJGL

How does a basic animation work in lwjgl? Should I have a timer to change the texture to its’ next frame?