B&B Electronics ADAM-6066 - Manual User Manual

Page 122

Advertising
background image

ADAM-6000 Series User Manual

112

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);
}
else if (panelType == 3) {
int off;
off = 4;
g.setColor(Color.white);
g.drawRect(0, 0, size.width - 1, size.height - 1);
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

g.setColor(Color.black);
g.drawRect(off, off + 5, size.width-2- off*2, size.height - 2 - off * 2 -5 );

}
else {

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

}

}

};

Advertising