@Override
protected void paintWidget() {
Graphics2D g = getScene().getGraphics();
//g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF);
g.setColor(this.color);
ObjectState state = this.getState();
float width = 1.0f;
if (state.isHovered() || this.popupVisible) {
width = HOVER_STROKE_WIDTH;
}
Stroke oldStroke = g.getStroke();
g.setStroke(new BasicStroke(width));