title: Using Java locale in Scala complains: object is not a value
body: <p>I'm trying to use a java locale in Scala. Using a constant like <code>java.util.Locale.ENGLISH</code> works well; however, <code>java.util.Locale("en")</code> complains: </p>
  
  <pre><code>error: object Locale is not a value
  java.util.Locale("en")`
  </code></pre>
  
  <p>This seems related to <a href="https://stackoverflow.com/questions/9079129/object-is-not-a-value-error-in-scala">this question</a>, which suggests Locale doesn't have a companion object. I've been <a href="http://tutorials.jenkov.com/scala/singleton-and-companion-objects.html" rel="nofollow noreferrer">reading a bit about this</a>, but I still can't figure out how one is to access the Locale <strong>class</strong>?</p>