当前位置: 首页>>代码示例>>Java>>正文


Java SlickException.printStackTrace方法代码示例

本文整理汇总了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();
	}
}
 
开发者ID:j-dong,项目名称:trashjam2017,代码行数:17,代码来源:GeomTest.java

示例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();
	}
}
 
开发者ID:SkidJava,项目名称:BaseClient,代码行数:15,代码来源:SlickCallableTest.java

示例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();
	}
}
 
开发者ID:IngSW-unipv,项目名称:Progetto-C,代码行数:17,代码来源:MorphShapeTest.java

示例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();
	}
}
 
开发者ID:IngSW-unipv,项目名称:Progetto-C,代码行数:17,代码来源:TrueTypeFontPerformanceTest.java

示例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();
	}
}
 
开发者ID:SkidJava,项目名称:BaseClient,代码行数:15,代码来源:InputTest.java

示例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();
	}
}
 
开发者ID:SkidJava,项目名称:BaseClient,代码行数:15,代码来源:ClipTest.java

示例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();
	}
}
 
开发者ID:SkidJava,项目名称:BaseClient,代码行数:15,代码来源:KeyRepeatTest.java

示例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();
	}
}
 
开发者ID:SkidJava,项目名称:BaseClient,代码行数:15,代码来源:PedigreeTest.java

示例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();
	}
}
 
开发者ID:IngSW-unipv,项目名称:Progetto-C,代码行数:17,代码来源:TransitionTest.java

示例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();
	}
}
 
开发者ID:SkidJava,项目名称:BaseClient,代码行数:15,代码来源:TransformTest.java

示例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();
	}
}
 
开发者ID:SkidJava,项目名称:BaseClient,代码行数:18,代码来源:LineRenderTest.java

示例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();
	}
}
 
开发者ID:j-dong,项目名称:trashjam2017,代码行数:15,代码来源:PackedSheetTest.java

示例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();
    }
}
 
开发者ID:j-dong,项目名称:trashjam2017,代码行数:16,代码来源:ShapeTest.java

示例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();
	}
}
 
开发者ID:SkidJava,项目名称:BaseClient,代码行数:15,代码来源:SoundPositionTest.java

示例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();
	}
}
 
开发者ID:SkidJava,项目名称:BaseClient,代码行数:15,代码来源:SoundTest.java


注:本文中的org.newdawn.slick.SlickException.printStackTrace方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。