I'm trying to use a java method that required an array of floats as one of its arguments.
However, a coldfusion array is not a java array, it's actually an instance of coldfusion.runtime.Array I found a post by Christian Cantrell about this and how coldfusion.runtime.Array is actually an extension of java.lang.Vector and so you can call toArray() on it to return an array. However, when I try this route, I get: Unable to find a constructor for class java.awt.image.Kernel that accepts parameters of type ( java.lang.Integer, java.lang.Integer, [Ljava.lang.Object; ). Here's the code in question: blurArray = arrayNew(1); for (i=1; i lte 9; i = i + 1) { arrayAppend(blurArray, javacast("float",blurAmount)); } kernel = createObject("java","java.awt.image.Kernel"); kernel.init(img.getWidth(), img.getHeight(), blurArray.toArray()); if I call blurArray.toArray().getClass().getName() it returns [Ljava.lang.Object Anyone got any ideas how to deal with this? Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263528 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4