We already have committed our self that the constructor change will happen, just as the java 5 stuff will happen.
The only question is when.

but the constructor change is this, now you do this:

public MyWebPage()
{
      Form form = new Form("form");
      TextField field = new TextField("text");
      form.add(field);
      add(form);
}

with the change you do this:

public MyWebPage()
{
      Form form = new Form(this,"form");
      TextField field = new TextField(form,"text");
}



On 2/17/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
Please is there any link where one can review the serious changes (advantages and disadvantages) of the Java 5 stuffs. So that one can actually know what he stands to gain or loose generally before casting a vote. Can someone show a coding difference. What already set pattern will really change? Just to be really sure what some of us new users are voting for
 
Thanks
 

Reply via email to