public void renderComponent(Graphics2D g, AnimationFrame fr, int xo, int yo){
for(int x = 0; x < 32; x++){
int v = fr.framedata[x];
for(int y = 0; y < 32; y++){
int bv = (v & (1 << y-1));
if(bv != 0)
g.setColor(PIXEL_COLOR);
else
g.setColor(NONPIXEL_COLOR);
g.drawLine(y+xo,x+yo,y+xo,x+yo);
}
}
}