public void paint(Graphics g) { if (this.nodeNameUpdated) this.updateBounds(g); super.paint(g); g.setColor(Color.black); g.setFont(Output1bitUI.font); g.drawString( this.nodeName, this.bounds.x + (giraffe.ui.Anchor.WIDTH * 2), this.bounds.y + this.bounds.height - 3); }
public void resetBounds() { super.resetBounds(); this.bounds.setSize(this.bounds.width, this.bounds.height + FONT_SIZE + 2); }