import javax.microedition.lcdui.*; public class Logo extends Canvas implements Runnable { private Image naik; private int[] array; private int w, h, wN, hN, max, alpha; private boolean first; /** * constructor */ public Logo() { setFullScreenMode(true); try { naik=Image.createImage("/naik.png"); } catch (Exception exc) { } max=naik.getWidth()*naik.getHeight(); array=new int[max]; first=true; alpha=0; new Thread(this).start(); } /** * paint */ public void paint(Graphics g) { if(first){ w=getWidth(); h=getHeight(); wN=naik.getWidth(); hN=naik.getHeight(); naik.getRGB(array, 0, wN, 0, 0, wN, hN); first=false; } g.setColor(0,0,0); g.fillRect(0,0,w,h); g.setColor(255,255,0); g.drawString("al="+alpha+" "+Integer.toString(array[1]>>24),0,0, Graphics.LEFT|Graphics.TOP); g.drawLine(0,0,w,h); for(int i=0;i