makeresources.java

来自「J2ME上的一个播放器,可以更换皮肤.开源软件.」· Java 代码 · 共 48 行

JAVA
48
字号

/* MakeResourceMIDlet
 * This file is NOT included in dist
 *
 */

package inline.res;

import javax.microedition.midlet.*;
import java.util.*;
import inline.res.*;   
import inline.sys.*;

public class MakeResources extends MIDlet 
{
    private SerialHashtableFile sht;
    
    public MakeResources() 
    {
	sht = new SerialHashtableFile("/a/res.sht");
	Language.make(sht);
	Colors.make(sht);
	MetaFigures.make(sht);
	sht.save();
	
	System.err.println("\n\n*** RES FILE CREATED ***\n\n");
    }

    protected void startApp() throws MIDletStateChangeException 
    {
	// that's all
	this.notifyDestroyed();
    }

    protected void pauseApp() 
    {
    }

    protected void destroyApp(boolean unconditional) 
    {
    }
  
}




⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?