Scanner sc1=new Scanner(fr); while(sc1.hasNextLine()) { char []p=sc1.nextLine().toCharArray(); char [] a=new char[p.length]; for(int i=0;i<p.length;i++) { if(p[i]!='-') { if(String.valueOf(p[i])==(null)) { } else { a[i]=p[i]; col[x][j]+=p[i]; } } JOptionPane.showMessageDialog(null,"col "+col[x][j]+":"+ j); //procedure pr=new procedure(); if(p[i]=='-') { j++;i++; } }x++; } sc1.close();n=0;j=0;int y=0;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)