Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so dont bother with any of their useless mail servers here and just use oauth login instead. Thank the nice Russians for causing that. :)
Paste
Pasted as Java by proud_anon ( 16 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