PPT Slide
g.fillRect(0, 0, getSize().width, off);
g.fillRect(0, 0, off, getSize().height);
g.fillRect(getSize().width-off,0, off,getSize().height);
g.fillRect(0,getSize().height-off, getSize().width, off);
g.fillRect(0,0,2*off, 2*off);
g.fillRect(getSize().width-2*off,0, 2*off, 2*off);
g.fillRect(0, getSize().height-2*off, 2*off, 2*off);
g.fillRect(getSize().width-2*off, getSize().height-2*off, 2*off, 2*off);
int dX, dY; int x1=off; int x2=2*off; int x3=getSize().width-(1+2*off);
int x4=getSize().width-(1+off);
int y1=off; int y2=2*off;
int y3=getSize().height-(1+2*off);
int y4=getSize().height-(1+off);