public static int createWindowNo(Container win){
  int retValue=s_windows.size();
  s_windows.add(win);
  return retValue;
}

public static int createWindowNo ( Container win ) { int retValue = s_windows . size ( ) ; s_windows . add ( win ) ; return retValue ; }
add container and return windowno . the container is a apanel , awindow or jframe / jdialog
