public static void main ( String [ ] argv ) { try { // create a new container for our example game. This container // just creates a normal native window for rendering OpenGL accelerated // elements to AppGameContainer container = new AppGameContainer ( new Scroller ( ) , 800 , 600 , false ) ; container . start ( ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } }
Entry point to the scroller example