JAL-3594 Adjustments to allow JalviewJS to use ChannelProperties, and new utils/chann...
[jalview.git] / src / jalview / util / ChannelProperties.java
index c33198b..ede528f 100644 (file)
@@ -18,7 +18,7 @@ import jalview.bin.Cache;
 public class ChannelProperties
 {
 
-  private static final String CHANNEL_PROPERTIES_FILENAME = "/channel_properties";
+  private static final String CHANNEL_PROPERTIES_FILENAME = "/channel.props";
 
   private static final Properties channelProps;
 
@@ -63,8 +63,12 @@ public class ChannelProperties
     if (channelPropsURL == null)
     {
       // complete failure of channel_properties, set all properties to defaults
-      System.err.println("Failed to find '" + CHANNEL_PROPERTIES_FILENAME
-              + "' file, using defaults");
+      System.err
+              .println("Failed to find '" + CHANNEL_PROPERTIES_FILENAME
+                      + "' file at '"
+                      + (channelPropsURL == null ? "null"
+                              : channelPropsURL.toString())
+                      + "'. Using class defaultProps.");
       tryChannelProps = defaultProps;
     }
     else
@@ -258,4 +262,4 @@ public class ChannelProperties
   {
     return iconList;
   }
-}
\ No newline at end of file
+}