getting refresh rate

How would i get the refresh rate of the monitor? I don’t see anything in glCapablilities.

You will want to take a look at:

java.awt.DisplayMode
java.awt.GraphicsDevice
java.awt.GraphicsConfiguration
java.awt.Graphics2D