Hello experts,

actually i have a situation like this.

i have a drop down menu value:{2,3,4,5,6}. there is a common operation need to be done if any number in menu list chosen.each of the number must have different number of layers. if user choose 2 means 2 layers,if 3 means 3 layers and so on. this is my plan.

comb[0] is layer

```
for(int i=0;i<comb[0];i++)
for(int j=0;j<comb[1];j++)
{ if(value_int==2) goto A:
else for(int k=0;k<comb[2];k++)
{ if(value_int==3) goto A:
else for(int l=0;k<comb[3];k++)
{ if(value_int==4) goto A:
else for(int m=0;k<comb[4];k++)
{ if(value_int==5) goto A:
else for(int n=0;k<comb[5];k++)
goto A:
}
}
}
}
A: //do A
```

so, my question is,can i use goto? or it is not available in java?

or mayb u have any suggestion to my code?i knew its not a good way to be done.

really need help for this guys!!!

Thanks for advance.