+ /**
+ * Offer the user the option to choose a colour for the highlighted node and
+ * its children; this colour is also applied to the corresponding sequence ids
+ * in the alignment
+ */
+ void chooseSubtreeColour()
+ {
+ String ttl = MessageManager.getString("label.select_subtree_colour");
+ ColourChooserListener listener = new ColourChooserListener() {
+ @Override
+ public void colourSelected(Color c)
+ {
+ setColor(highlightNode, c);
+ PaintRefresher.Refresh(tp, ap.av.getSequenceSetId());
+ repaint();
+ }
+ };
+ JalviewColourChooser.showColourChooser(this, ttl, highlightNode.color, listener);