X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FTextColourChooser.java;h=4315e0b2c9eadcc3f7887d1c64d2b988e73d0e66;hb=6e0dc75fa4251c831606d00cee1c01de5733890a;hp=dc705b2ba63f70134940e042a0609bafa7227783;hpb=47168f025aefdaa044802bd5f8f510ffe43a4808;p=jalview.git diff --git a/src/jalview/gui/TextColourChooser.java b/src/jalview/gui/TextColourChooser.java index dc705b2..4315e0b 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);