import org.lwjgl.opengl.*; import org.lwjgl.Sys; public class display { public static void main(String[] argv) { // in this case we only care about the dimensions of the screen, we're aiming // for an 800x600 display. int targetWidth = 800; int targetHeight = 600; DisplayMode chosenMode = null; try { DisplayMode[] modes = Display.getAvailableDisplayModes(); for (int i=0;i