Slick2d display without used render?

Hello,

I just started to used slick2d and i have a big problem: i dunno how make a display without render function.
I really can’t use render function, so if somebody can help me ^^

Thanks

ps: sorry for my english

edit: i used research but i think it was a bad idea, ths subject is on the main page TT, but if someone can explain me that more, it’s not a problem ^^

i tried this :

Graphics g = new Graphics (container.getWidth(),container.getHeight());
		g.drawImage(cursor, position.x, position.y);
		g.flush();

but no sucessfull

Why can’t you use the render function?

Look at the source code of AppGameContainer and GameContainer to see how it sets up a Graphics context. It’s possible, but not really something users need and so isn’t documented.

I can’t because i use MVC model, with Observer pattern, so the graphic update must receive my obs.

I think that i have spend 6-7 hours at look the source code, i tried somethings that i thinking good, but it’s never work.

But slick2d is really too specialized for me, slick is to help to use lwjgl right?

So just work with lwjgl, let me the same capacity? Graphic etc…

No, lwjgl is more or less just a bare minimum wrapping of OpenGL functions. There is no Graphics object, only OpenGl. You would have to set up your own game loop, delta function, image renderers etc.