title: invoke a java method with int arguments from javascript/rhino
body: <p>how I can invoke an overloaded java method with integer and float from javascript/rhino?</p>
  
  <p>for example, how can I invoke from javascript/rhino the java java.awt.Color(int,int,int) constructor?
  I have dealt with the next snipets but does not work:</p>
  
  <pre><code>var Integer = java.lang.Integer;
  
  var color = new java.awt.Color(12,58,92); // it invokes java.awt.Color(float,float,float) and throws Wrapped java.lang.IllegalArgumentException: Color parameter outside of expected range: Red Green Blue.
  var color = new java.awt.Color(new Integer(12), new Integer(58), new Integer(92) // it invokes java.awt.Color(float,float,float) and throws exception
  var color = new Color(Integer.valueOf(12),Integer.valueOf(200),Integer.valueOf(80)); // it invokes java.awt.Color(float,float,float) and throws exception
  </code></pre>