X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FAnnotationColourChooser.java;h=7226eb06b6e2cbcfca5d50dd415ae4a64a5182c6;hb=aced09c4feeaf3406269442c14e54abeeb4cad81;hp=39f3a1359fae067e7236841a1efa24a24c0ff17e;hpb=5d32c7ad007e098894b332b6fca61e1824972c50;p=jalview.git diff --git a/src/jalview/gui/AnnotationColourChooser.java b/src/jalview/gui/AnnotationColourChooser.java index 39f3a13..7226eb0 100644 --- a/src/jalview/gui/AnnotationColourChooser.java +++ b/src/jalview/gui/AnnotationColourChooser.java @@ -168,8 +168,7 @@ public class AnnotationColourChooser extends JPanel threshold.setSelectedIndex(2); break; default: - throw new Error( - "Implementation error: don't know about threshold setting for current AnnotationColourGradient."); + throw new Error(MessageManager.getString("error.implementation_error_dont_know_about_thereshold_setting")); } thresholdIsMin.setSelected(acg.thresholdIsMinMax); thresholdValue.setText("" + acg.getAnnotationThreshold()); @@ -472,7 +471,7 @@ public class AnnotationColourChooser extends JPanel public void minColour_actionPerformed() { Color col = JColorChooser.showDialog(this, - "Select Colour for Minimum Value", minColour.getBackground()); + MessageManager.getString("label.select_colour_minimum_value"), minColour.getBackground()); if (col != null) { minColour.setBackground(col); @@ -484,7 +483,7 @@ public class AnnotationColourChooser extends JPanel public void maxColour_actionPerformed() { Color col = JColorChooser.showDialog(this, - "Select Colour for Maximum Value", maxColour.getBackground()); + MessageManager.getString("label.select_colour_maximum_value"), maxColour.getBackground()); if (col != null) { maxColour.setBackground(col);