i figured out the logic, by trial n error :)


VIEW2[1]=false;
VIEW2[2]=false;
VIEW3[1]=false;
VIEW3[2]=false;
VIEW4[1]=false;
VIEW4[2]=false; for None

or for(int j=1;j<n;j++)
  VIEW2[j]=false;
  VIEW3[j]=false;
  VIEW4[j]=false;

the variables controlling them is VIEW2,VIEW3,VIEW4 and NOT showComponent2,showComponent3,showComponent4.