247248249250251252253254255256257
g2.drawRect(x, y, w, h); // Draw Gate information if (id != null && !id.equals("")){ if (tipShape == null){ tipShape = new TipShape(id, x, y); } else { tipShape.setAnchor(x + HIGHLIGHTED_GATE_SIZE, y); } tipShape.draw(g2); }