B&B Electronics ADAM-6066 - Manual User Manual

Page 121

Advertising
background image

111

Chapter 5

off = 4;
g.setColor(Color.white);
g.drawRect(0, 0, size.width - 1, size.height - 1);

1);

g.setColor(Color.darkGray);
g.drawLine(size.width - 1, 0, size.width - 1, size.height -

g.drawLine(0, size.height - 1, size.width - 1, size.height
- 1);g.setColor(Color.black);
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);

4);

- 4);

g.drawLine(size.width - 4, 2, size.width - 4, size.height -

g.drawLine(2, size.height - 4, size.width - 4, size.height
g.setColor(Color.darkGray); g.drawLine(2, 2, size.width - 4, 2); g.draw-
Line(2, 2, 2, size.height - 4);

1);

Advertising