}
public void draw(Canvas canvas) {
super.draw(canvas);
Color color = getState().isObjectIdentified() ? Toolkit.getColor(ColorsAndFonts.COLOR_PRIMARY2) : Toolkit.getColor(ColorsAndFonts.COLOR_SECONDARY1);
Size size = getSize();
int width = size.getWidth();
int height = size.getHeight();
canvas.drawRectangle(0, 0, width - 1, height - 1, color);