X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FTextColourChooser.java;fp=src%2Fjalview%2Fgui%2FTextColourChooser.java;h=6fe766052e78f25b377a56f88123d65818860156;hb=a0d3647da9f02df7c5a13f59e5db552e7567974f;hp=dc705b2ba63f70134940e042a0609bafa7227783;hpb=1052132a5a191173964d4e7fec936f9ee33c9ac6;p=jalview.git diff --git a/src/jalview/gui/TextColourChooser.java b/src/jalview/gui/TextColourChooser.java index dc705b2..6fe7660 100644 --- a/src/jalview/gui/TextColourChooser.java +++ b/src/jalview/gui/TextColourChooser.java @@ -68,9 +68,7 @@ public class TextColourChooser JPanel panel = new JPanel(); bigpanel.add(panel, BorderLayout.CENTER); bigpanel.add( - new JLabel( - "Select a dark and light text colour, then set the threshold to" - + "
switch between colours, based on background colour
"), + new JLabel(MessageManager.getString("label.select_dark_light_set_thereshold")), BorderLayout.NORTH); panel.add(col1); panel.add(slider); @@ -81,7 +79,7 @@ public class TextColourChooser public void mousePressed(MouseEvent e) { Color col = JColorChooser.showDialog(bigpanel, - "Select Colour for Text", col1.getBackground()); + MessageManager.getString("label.select_colour_for_text"), col1.getBackground()); if (col != null) { colour1Changed(col); @@ -95,7 +93,7 @@ public class TextColourChooser public void mousePressed(MouseEvent e) { Color col = JColorChooser.showDialog(bigpanel, - "Select Colour for Text", col2.getBackground()); + MessageManager.getString("label.select_colour_for_text"), col2.getBackground()); if (col != null) { colour2Changed(col); @@ -113,7 +111,7 @@ public class TextColourChooser }); int reply = JOptionPane.showInternalOptionDialog(ap, bigpanel, - "Adjust Foreground Text Colour Threshold", + MessageManager.getString("label.adjunst_foreground_text_colour_thereshold"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, null, null);