title: How to convert a scala Int to a java Integer?
body: <p>I am reasonable new to scala and working with scala and Java together.</p>
  
  <p>I am trying to pass a scala Int into a method that accepts an Integer(java.long.Integer). Since they are of different types the compiler gives an error. </p>
  
  <pre><code> /* name- Option[String], id- Option[Integer] , mask- Option[String]*/
   new findingFrame(name,id, mask)
  
   case class findingFrame(name: String,
                           id: Option[java.lang.Integer],
                           mask : Option[String])
  </code></pre>
  
  <p>I tried using .instanceOf [java.lang.Integer], but this doesn't work either..</p>
  
  <p>I am not sure how to solve this.. Can somebody help me please?
  Thank you.</p>