FontDemo.java
资源名称:J2ME&Game.rar [点击查看]
上传用户:gyyuli
上传日期:2013-07-09
资源大小:3050k
文件大小:1k
源码类别:
J2ME
开发平台:
Java
- package fontdemo;
- import javax.microedition.lcdui.*;
- import javax.microedition.midlet.*;
- public class FontDemo extends MIDlet
- {
- private Display display;
- private FontCanvas myCanvas;
- public FontDemo()
- {
- myCanvas = new FontCanvas();
- display = Display.getDisplay(this);
- }
- public void startApp()
- {
- display.setCurrent(myCanvas);
- }
- public void pauseApp()
- {
- }
- public void destroyApp(boolean unconditional)
- {
- }
- }