Subj : Rhino - invoking multi-signatured java method from javascript To : netscape.public.mozilla.jseng From : ariel_ml@netvision.net.il (Ariel Malka) Date : Fri Sep 05 2003 04:48 am i'm working with a global ScriptableObject, which is giving access from javascript to some custom java methods... one of the methods i'm exposing is called "background", BUT it has two different signatures: public void background(int rgb) { ... } and public void background(int r, int g, int b) { ... } however, when i'm registering "background" with ScriptableObject.defineFunctionProperties, i'm getting an exception: Method "background" occurs multiple times in class... is there any workaround to this situations? thanks! .