On Wed, Feb 12, 2014 at 9:53 AM, mauro2java2011 <[email protected]>wrote:

>  public String  creaNuovo(){
>
> this.list.add(current) ;
> this.list.size();
>
>
> return"List";
>
>
>  }
>

why do you add the 'same' current over and over again, when creaNuovo() is
called?

this.list.add(current) ;

I would do something like this,

this.list.add(new ConsultDTO()) ;

or

current = new ConsultDTO();
this.list.add(current) ;

Reply via email to