LWJGL - Getting projected (2D) vertices

I am asking this for my friend who is too scared to ask.

How can I get the 2D coordinates of every triangle/polygon drawn onto the screen in LWJGL?