/** * Sets the colour of all links and repaints * * @param colour link colour */ public void setAllLinkColor(Color colour) { for (drawLink L : links.values()) { L.color = colour; } this.repaint(); }
/** * Sets the colour of all links, but don't repaint * * @param colour link colour */ public void setAllLinkColorNoRepaint(Color colour) { for (drawLink L : links.values()) { L.color = colour; } }