I would basically say the same as the other dude; break up methods into smaller ones.
The code between the case statements basically do the same thing, so make them into static method that returns new NewCompanyFrm object, you case statements will look like this.
case 2:
{
System.out.println("choose 2");
int[] alist = [1,2,4,5,7,8,10,11,13,14,16] //however arrays are implemented
arr.add(funcNewCompanyform(alist);
}break;
You code seems very complicated, have you looked for a better way of doing this. Could PHP or
JSP help you; the mixing of HTML and source code makes changing HTML a pain. If you must use
Java this way, maybe there are simple librarys on Internet that could hide the complication of ODBC database access to simplify the code for you.