git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' of https://source.jalview.org/git/jalview into develop
[jalview.git]
/
src
/
jalview
/
gui
/
TextColourChooser.java
diff --git
a/src/jalview/gui/TextColourChooser.java
b/src/jalview/gui/TextColourChooser.java
index
dc705b2
..
4315e0b
100644
(file)
--- 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(
JPanel panel = new JPanel();
bigpanel.add(panel, BorderLayout.CENTER);
bigpanel.add(
- new JLabel(
- "<html><i>Select a dark and light text colour, then set the threshold to"
- + "<br>switch between colours, based on background colour</i></html>"),
+ new JLabel("<html>"+MessageManager.getString("label.select_dark_light_set_thereshold")+"</html>"),
BorderLayout.NORTH);
panel.add(col1);
panel.add(slider);
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,
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);
if (col != null)
{
colour1Changed(col);
@@
-95,7
+93,7
@@
public class TextColourChooser
public void mousePressed(MouseEvent e)
{
Color col = JColorChooser.showDialog(bigpanel,
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);
if (col != null)
{
colour2Changed(col);
@@
-113,7
+111,7
@@
public class TextColourChooser
});
int reply = JOptionPane.showInternalOptionDialog(ap, bigpanel,
});
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);
JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE,
null, null, null);