Problems with display modes

Well, i’m sure this is feature of my AIT card’s drivers. My monitor only supports 1600x1200 but when I get the display modes from GraphicsDevice.getDisplayModes() it has modes all the way up to 2048x1536. If I set the display mode above 1600x1200 the “virtual desktop” scrolls around when I move the mouse to the borders. Is there any way to find out the max resolution of your monitor is so I can cap the resolution?

Thanks

Rectangle maxBounds = GraphicsEnvironment.getMaximumWindowBounds()

and check it against DisplayModes you get from GraphicsDevice