View Single Post
  #5 (permalink)  
Old 01-22-2008, 05:11 PM
XiaoXiao XiaoXiao is offline
Member
 
Join Date: Jan 2008
Posts: 6
XiaoXiao is on a distinguished road
Hello bluefloyd8

Array is not a dynamic data structures.
Instead of using an Array ... u can use ArrayList which is dynamic .. u dont have to worry about the size increment .. tht will be taken care.
This should work for you .......


ArrayList<ParsedSiteInfo> parsedInfo = new ArrayList<ParsedSiteInfo>();
private void createNewSite(){
this.parsedInfo.add(new ParsedSiteInfo());
}
Reply With Quote