figure = new PortTerminal(ioPort, figure, normal, true);
} else {
Site tsite = new PerimeterSite(figure, 0);
tsite.setNormal(normal);
tsite = new FixedNormalSite(tsite);
figure = new TerminalFigure(figure, tsite) {
// Override this because the tooltip may
// change over time. I.e., the port may
// change from being an input or output, etc.
public String getToolTipText() {