Psst.. new poll here.
[email protected] web/email now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!
Paste
Pasted as Java by proud_anon ( 15 years ago )
import java.io.IOException;
import javax.microedition.lcdui.Canvas;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;
public final class d extends Canvas
{
private Image a = null;
public d(main parammain)
{
try
{
this.a = Image.createImage("/intro.png");
return;
}
catch (IOException localIOException)
{
(parammain = localIOException).printStackTrace();
}
}
protected final void paint(Graphics paramGraphics)
{
paramGraphics.setColor(0, 0, 0);
paramGraphics.fillRect(0, 0, getWidth(), getHeight());
paramGraphics.drawImage(this.a, getWidth() / 2, getHeight() / 2, 3);
}
}
Revise this Paste