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
8f0b88c
..
feab446
100644
(file)
--- a/
src/jalview/gui/ColourMenuHelper.java
+++ b/
src/jalview/gui/ColourMenuHelper.java
@@
-120,8
+120,7
@@
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);
name);
final JRadioButtonMenuItem radioItem = new JRadioButtonMenuItem(
label);
@@
-305,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);
}
}
}
}