本文整理匯總了Java中org.newdawn.slick.SlickException.printStackTrace方法的典型用法代碼示例。如果您正苦於以下問題:Java SlickException.printStackTrace方法的具體用法?Java SlickException.printStackTrace怎麽用?Java SlickException.printStackTrace使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類org.newdawn.slick.SlickException
的用法示例。
在下文中一共展示了SlickException.printStackTrace方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: main
import org.newdawn.slick.SlickException; //導入方法依賴的package包/類
/**
* Entry point to our test
*
* @param argv The arguments passed to the test
*/
public static void main(String[] argv) {
try {
Renderer.setRenderer(Renderer.VERTEX_ARRAY_RENDERER);
AppGameContainer container = new AppGameContainer(new GeomTest());
container.setDisplayMode(800,600,false);
container.start();
} catch (SlickException e) {
e.printStackTrace();
}
}
示例2: main
import org.newdawn.slick.SlickException; //導入方法依賴的package包/類
/**
* 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 SlickCallableTest());
container.setDisplayMode(800,600,false);
container.start();
} catch (SlickException e) {
e.printStackTrace();
}
}
示例3: main
import org.newdawn.slick.SlickException; //導入方法依賴的package包/類
/**
* 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 MorphShapeTest());
container.setDisplayMode(800, 600, false);
container.start();
} catch (SlickException e) {
e.printStackTrace();
}
}
示例4: main
import org.newdawn.slick.SlickException; //導入方法依賴的package包/類
/**
* Entry point to our test
*
* @param argv
* The arguments passed in the test
*/
public static void main(String[] argv) {
try {
AppGameContainer container = new AppGameContainer(
new TrueTypeFontPerformanceTest());
container.setDisplayMode(800, 600, false);
container.start();
} catch (SlickException e) {
e.printStackTrace();
}
}
示例5: main
import org.newdawn.slick.SlickException; //導入方法依賴的package包/類
/**
* 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();
}
}
示例6: main
import org.newdawn.slick.SlickException; //導入方法依賴的package包/類
/**
* 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 ClipTest());
container.setDisplayMode(800,600,false);
container.start();
} catch (SlickException e) {
e.printStackTrace();
}
}
示例7: main
import org.newdawn.slick.SlickException; //導入方法依賴的package包/類
/**
* 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();
}
}
示例8: main
import org.newdawn.slick.SlickException; //導入方法依賴的package包/類
/**
* 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 PedigreeTest());
container.setDisplayMode(800,600,false);
container.start();
} catch (SlickException e) {
e.printStackTrace();
}
}
示例9: main
import org.newdawn.slick.SlickException; //導入方法依賴的package包/類
/**
* 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();
}
}
示例10: main
import org.newdawn.slick.SlickException; //導入方法依賴的package包/類
/**
* 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 TransformTest());
container.setDisplayMode(640,480,false);
container.start();
} catch (SlickException e) {
e.printStackTrace();
}
}
示例11: main
import org.newdawn.slick.SlickException; //導入方法依賴的package包/類
/**
* Entry point to our test
*
* @param argv The arguments passed to the test
*/
public static void main(String[] argv) {
try {
Renderer.setLineStripRenderer(Renderer.QUAD_BASED_LINE_STRIP_RENDERER);
Renderer.getLineStripRenderer().setLineCaps(true);
AppGameContainer container = new AppGameContainer(new LineRenderTest());
container.setDisplayMode(800,600,false);
container.start();
} catch (SlickException e) {
e.printStackTrace();
}
}
示例12: main
import org.newdawn.slick.SlickException; //導入方法依賴的package包/類
/**
* 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 PackedSheetTest());
container.setDisplayMode(800,600,false);
container.start();
} catch (SlickException e) {
e.printStackTrace();
}
}
示例13: main
import org.newdawn.slick.SlickException; //導入方法依賴的package包/類
/**
* Entry point to our test
*
* @param argv The arguments passed to the test
*/
public static void main(String[] argv) {
try {
Renderer.setRenderer(Renderer.VERTEX_ARRAY_RENDERER);
AppGameContainer container = new AppGameContainer(new ShapeTest());
container.setDisplayMode(800,600,false);
container.start();
} catch (SlickException e) {
e.printStackTrace();
}
}
示例14: main
import org.newdawn.slick.SlickException; //導入方法依賴的package包/類
/**
* 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 SoundPositionTest());
container.setDisplayMode(800,600,false);
container.start();
} catch (SlickException e) {
e.printStackTrace();
}
}
示例15: main
import org.newdawn.slick.SlickException; //導入方法依賴的package包/類
/**
* 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 SoundTest());
container.setDisplayMode(800,600,false);
container.start();
} catch (SlickException e) {
e.printStackTrace();
}
}