Display not created

Started by Trudko, October 01, 2006, 16:01:52

Previous topic - Next topic

Trudko

Hi I fixed my last problem but I have another one. I tried to run the OpenGl Rendering tutorial but it doesnt work. It throw exception in :
try{
init(fullscreen);
run();
} catch(exception e) {
.
.
.
And the sys alert is shown : An error occured and the game will exit");
I used debbug and I find out that problem with display.update();

Matzon

what exception are you getting ?

Trudko

Quote from: "Matzon"what exception are you getting ?

java.lang.IllegalStateException:Display not created
     at org.lwjgl.opengl.Display.update(Display.java:578)
     at cvicenie1.run(cvicenie1.java:68 )
     at cvicenie1.main(cvicenie1.java:35)

btw cvicenie is name of class and it means exercise

Fool Running

Make sure the Init() method has Display.Create() in it like the tutorial does.
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D

Trudko

Quote from: "Fool Running"Make sure the Init() method has Display.Create() in it like the tutorial does.

Yes there was that problem. Probably I was doing some experiments with method init() and forget it. Like my friend say:"Stupid people lives to make other people clever":)

Fool Running

QuoteLike my friend say:"Stupid people lives to make other people clever"
We all do that some times. :lol:
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D