?? imageassembler.java~1~
字號:
package paopao;import com.nokia.mid.ui.DirectGraphics;import com.nokia.mid.ui.DirectUtils;import java.io.InputStream;import java.io.PrintStream;import javax.microedition.lcdui.Image;public class ImageAssembler{ public static Image createMutableImage(String s, int i) throws IllegalArgumentException { byte abyte0[] = new byte[i]; try { InputStream inputstream = Runtime.getRuntime().getClass().getResourceAsStream(s); inputstream.read(abyte0, 0, i); inputstream.close(); } catch(Exception exception) { throw new IllegalArgumentException("IOException!"); } return DirectUtils.createImage(abyte0, 0, i); }}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -