⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 imageaction.java

📁 J2ME下开发的用于手机的推箱子游戏源代码
💻 JAVA
字号:
/*
 * ImageAction.java
 *
 * Created on 2007年11月30日, 下午9:07
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package gamepackage;

import javax.microedition.lcdui.*;
/**
 *
 * @author bense
 */
public class ImageAction {
    
    /** Creates a new instance of ImageAction */
    public ImageAction() {
    }
    public static Image getImage(String url){
        Image img=null;
        try{
            img=Image.createImage(url);
        }
        catch(Exception e){
            e.printStackTrace();
        }
        return img;
    }
    
}

⌨️ 快捷键说明

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