Community
Participate
Working Groups
VE has problems identifying proper arguments passed. Example: public class Foo extends JLabel{ Foo(ChangeListener lister){ .... } } So let's say my "visual class" i'm designing in VE looks like this: public class VEExample implements ChangeListener { public void initStuff(){ Foo f = new Foo(this); } } I get an error saying I cannot construct Foo() b/c of an "argument type mismatch". The net effect is I cannot use this Foo widget within VE b/c VE thinks I have not constructed it properly. VE works properly if I pass in an object that is the same type of the object in the method/constructor - but not if it's a subclassed one, as shown above.