non-varargs call of varargs method with inexact argument type for last para
843810Mar 22 2005 — edited May 26 2009i have no idea what the error:
non-varargs call of varargs method with inexact argument type for last parameter
means.
return (Component)sceneClass.getConstructor(
new Class[]{int.class, int.class}).newInstance(
new Integer[]{new Integer((int)sceneDimension.getWidth()),
new Integer((int)sceneDimension.getHeight())});
this is the problem area but i'm not sure how to get around it..
any help would be appreciated