LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: NEWTONS_ on August 14, 2014, 04:06:02

Title: Problem with the display class. Help?
Post by: NEWTONS_ on August 14, 2014, 04:06:02
I've started my window by stating:

Display.setTitle(title);

and then this is where the error occurred:

Display.setDisplayMode(new DisplayMode(width, height));

am I doing something wrong?
Title: Re: Problem with the display class. Help?
Post by: quew8 on August 15, 2014, 11:01:58
You have given us absolutely no relevant information. You have given two method invocations without the values of the parameters and then stated that "the error" occurs. We have no idea what "the error" is and so cannot possibly be of any assistance. Start here for basic use of the Display class: http://lwjgl.org/wiki/index.php?title=LWJGL_Basics_1_(The_Display) (http://lwjgl.org/wiki/index.php?title=LWJGL_Basics_1_(The_Display))