Archive for December 15th, 2008

This is nothing but testing code.


public void paint (Graphics g) {
int p,t,a,k;
long go;
int to=0;
long lk=0;grBuffer.setColor(Color.black);
grBuffer.fillRect (0,0,width,height);
grBuffer.setColor (Color.white);
grBuffer.drawRect (0,0,width,height);
//( | | | | | | )
for (p=0;p<8;p++) grBuffer.drawLine (p*(width/8),0,p*(width/8),30);for (p=7;p>=0;p--) {
if (deci[p]==workn[p]) {
grBuffer.drawString (""+deci[p],4+((7-p)*(width/8)),24);
}
else {
grBuffer.drawString (""+workn[p],4+((7-p)*(width/8)),rott[p]);
grBuffer.drawString (""+(workn[p]+1),4+((7-p)*(width/8)),rott[p]+30);
}
}

Wow! Impressive!