Java Code Examples for org.newdawn.slick.SlickException#printStackTrace()
The following examples show how to use
org.newdawn.slick.SlickException#printStackTrace() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TestBox.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our test * * @param argv The arguments to pass into the test */ public static void main(String[] argv) { try { TestBox box = new TestBox(); box.addGame(AnimationTest.class); box.addGame(AntiAliasTest.class); box.addGame(BigImageTest.class); box.addGame(ClipTest.class); box.addGame(DuplicateEmitterTest.class); box.addGame(FlashTest.class); box.addGame(FontPerformanceTest.class); box.addGame(FontTest.class); box.addGame(GeomTest.class); box.addGame(GradientTest.class); box.addGame(GraphicsTest.class); box.addGame(ImageBufferTest.class); box.addGame(ImageReadTest.class); box.addGame(ImageTest.class); box.addGame(KeyRepeatTest.class); box.addGame(MusicListenerTest.class); box.addGame(PackedSheetTest.class); box.addGame(PedigreeTest.class); box.addGame(PureFontTest.class); box.addGame(ShapeTest.class); box.addGame(SoundTest.class); box.addGame(SpriteSheetFontTest.class); box.addGame(TransparentColorTest.class); AppGameContainer container = new AppGameContainer(box); container.setDisplayMode(800,600,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 2
Source File: CurveTest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our simple test * * @param argv The arguments passed in */ public static void main(String argv[]) { try { AppGameContainer container = new AppGameContainer(new CurveTest()); container.setDisplayMode(800,600,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 3
Source File: TransformTest2.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our test * * @param argv The arguments passed to the test */ public static void main(String[] argv) { try { AppGameContainer container = new AppGameContainer(new TransformTest2()); container.setDisplayMode(640,480,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 4
Source File: GeomUtilTest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our test * * @param argv The arguments passed to the test */ public static void main(String[] argv) { try { AppGameContainer container = new AppGameContainer(new GeomUtilTest()); container.setDisplayMode(800,600,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 5
Source File: TransparentColorTest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our test * * @param argv The arguments to pass into the test */ public static void main(String[] argv) { try { AppGameContainer container = new AppGameContainer(new TransparentColorTest()); container.setDisplayMode(800,600,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 6
Source File: TransitionTest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our test * * @param argv * The arguments passed to the test */ public static void main(String[] argv) { try { AppGameContainer container = new AppGameContainer( new TransitionTest()); container.setDisplayMode(800, 600, false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 7
Source File: GUITest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our test * * @param argv The arguments passed to the test */ public static void main(String[] argv) { try { AppGameContainer container = new AppGameContainer(new GUITest()); container.setDisplayMode(800,600,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 8
Source File: FlashTest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our test * * @param argv The arguments to pass into the test */ public static void main(String[] argv) { try { AppGameContainer container = new AppGameContainer(new FlashTest()); container.setDisplayMode(800,600,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 9
Source File: InputTest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our test * * @param argv The arguments passed into our test */ public static void main(String[] argv) { try { AppGameContainer container = new AppGameContainer(new InputTest()); container.setDisplayMode(800,600,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 10
Source File: KeyRepeatTest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our test * * @param argv The arguments to pass into the test */ public static void main(String[] argv) { try { AppGameContainer container = new AppGameContainer(new KeyRepeatTest()); container.setDisplayMode(800,600,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 11
Source File: ImageReadTest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our test * * @param argv The arguments to pass into the test */ public static void main(String[] argv) { try { AppGameContainer container = new AppGameContainer(new ImageReadTest()); container.setDisplayMode(800,600,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 12
Source File: SavedStateTest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our test * * @param argv The arguments passed in the test */ public static void main(String[] argv) { try { container = new AppGameContainer(new SavedStateTest()); container.setDisplayMode(800,600,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 13
Source File: ImageMemTest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our test * * @param argv The arguments to pass into the test */ public static void main(String[] argv) { try { AppGameContainer container = new AppGameContainer(new ImageMemTest()); container.setDisplayMode(800,600,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 14
Source File: CopyAreaAlphaTest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our test * * @param argv The arguments to pass into the test */ public static void main(String[] argv) { try { AppGameContainer container = new AppGameContainer(new CopyAreaAlphaTest()); container.setDisplayMode(800,600,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 15
Source File: SoundURLTest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to the sound test * * @param argv The arguments provided to the test */ public static void main(String[] argv) { try { AppGameContainer container = new AppGameContainer(new SoundURLTest()); container.setDisplayMode(800,600,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 16
Source File: ImageBufferEndianTest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to the test * * @param args The arguments passed into the test */ public static void main(String[] args) { try { AppGameContainer container = new AppGameContainer(new ImageBufferEndianTest()); container.setDisplayMode(800,600,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 17
Source File: AntiAliasTest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our test * * @param argv The arguments passed to the test */ public static void main(String[] argv) { try { AppGameContainer container = new AppGameContainer(new AntiAliasTest()); container.setDisplayMode(800,600,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 18
Source File: GeomUtilTileTest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our test * * @param argv * The arguments passed to the test */ public static void main(String[] argv) { try { AppGameContainer container = new AppGameContainer( new GeomUtilTileTest()); container.setDisplayMode(800, 600, false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 19
Source File: DoubleClickTest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our test * * @param argv The arguments to pass into the test, not used here */ public static void main(String[] argv) { try { AppGameContainer container = new AppGameContainer(new DoubleClickTest()); container.setDisplayMode(800,600,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }
Example 20
Source File: GraphicsTest.java From slick2d-maven with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Entry point to our test * * @param argv The arguments passed to the test */ public static void main(String[] argv) { try { AppGameContainer container = new AppGameContainer(new GraphicsTest()); container.setDisplayMode(800,600,false); container.start(); } catch (SlickException e) { e.printStackTrace(); } }