GraphicsUtil.drawCenteredText(g, v.toString(),
x + bds.getX() + bds.getWidth() / 2,
y + bds.getY() + bds.getHeight() / 2 - 2);
} else {
g.setColor(Color.BLACK);
GraphicsUtil.drawCenteredText(g, v.toHexString(),
x + bds.getX() + bds.getWidth() / 2,
y + bds.getY() + bds.getHeight() / 2 - 2);
}
painter.drawPorts();
}