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' into bug/JAL-4059_update_swingJS_for_JalviewJS_2_11_2_and_2_11_3
[jalview.git]
/
src
/
jalview
/
gui
/
ColourMenuHelper.java
diff --git
a/src/jalview/gui/ColourMenuHelper.java
b/src/jalview/gui/ColourMenuHelper.java
index
9479ea6
..
feab446
100644
(file)
--- a/
src/jalview/gui/ColourMenuHelper.java
+++ b/
src/jalview/gui/ColourMenuHelper.java
@@
-120,8
+120,8
@@
public class ColourMenuHelper
* the colour scheme (inspected in setColourSelected())
*/
final String name = scheme.getSchemeName();
* the colour scheme (inspected in setColourSelected())
*/
final String name = scheme.getSchemeName();
- String label = MessageManager.getStringOrReturn(
- "label.colourScheme_", name.toLowerCase().replace(" ", "_"));
+ String label = MessageManager.getStringOrReturn("label.colourScheme_",
+ name);
final JRadioButtonMenuItem radioItem = new JRadioButtonMenuItem(
label);
radioItem.setName(name);
final JRadioButtonMenuItem radioItem = new JRadioButtonMenuItem(
label);
radioItem.setName(name);
@@
-304,7
+304,8
@@
public class ColourMenuHelper
}
} catch (Exception ex)
{
}
} catch (Exception ex)
{
- System.out.println("Error loading User ColourFile\n" + ex);
+ jalview.bin.Console
+ .outPrintln("Error loading User ColourFile\n" + ex);
}
}
}
}