First: As a long time java and python user I can't begin to say how I enjoyed discovering jython over the last week. Thanks to everyone here that made my 'java life' productive and fun again!

My issue:

A JSplitPane has the following 2 methods  
'setDividerLocation(int pixels)' 
'setDividerLocation(double percentage)' 
I want to invoke the latter but: 
'split = JSplitPane(dividerLocation=java.lang.Double(0.25))' 
throws an exception: 
'can't convert 0.25 to int' 
Why does Jython try to convert the double to an int?  
So I try: 
which doesn't throw an exception (but doesn't seem to work either). 
Is there a workaround?