Generating Bimaps With The Instance Title Different Everytime?
i need the generated instance name to be different every thime eg blocktitle1, blocktitle2, blocktitle3 and so on. I have put some code to change the string variable 'title' but ju
Solution 1:
Try this:
private static final String titlePrefix = "blocknum";
private static int titleNo = 0;
public String getNextTitle() {
return titlePrefix + titleNo++;
}
Post a Comment for "Generating Bimaps With The Instance Title Different Everytime?"