EasyManua.ls Logo

Advantech ADAM-6000 series - Page 82

Advantech ADAM-6000 series
156 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
g.setColor(Color.black);
g.drawRect(off, off, size.width-2-off*2,size.height
-2-off*2);
}
else if (panelType == 2) {
g.setColor(Color.white);
g.drawRect(0, 0, size.width - 1, size.height - 1);
g.drawLine(size.width - 4, 2, size.width - 4, size.height -
4);
g.drawLine(2, size.height - 4, size.width - 4, size.height
- 4);
g.setColor(Color.darkGray);
g.drawLine(2, 2, size.width - 4, 2);
g.drawLine(2, 2, 2, size.height - 4);
g.drawLine(size.width - 1, 0, size.width - 1, size.height -
1);
g.drawLine(0, size.height - 1, size.width - 1, size.height
- 1);g.setColor(Color.black);
}
else if (panelType == 3) {
int off;
off=4;
g.setColor(Color.white);
g.drawRect(0, 0, size.width - 1, size.height - 1);
g.setColor(Color.darkGray);
g.drawLine(size.width - 1, 0, size.width - 1, size.height -
1);
g.drawLine(0, size.height - 1, size.width - 1, size.height
- 1);
g.setColor(Color.black);
g.drawRect(off, off + 5, size.width-2-off*2,size.height

Related product manuals