System.out.println("Checking points");
Container cont = (Container) ois.readObject();
Form form = new Form(cont.getR());
for (Mark point: cont.getPoints())
{
point.setIsBelongToForm(form.IsPointBelongsToForm(point));
point.setIsAnimating(false);
}
ous.writeObject(cont);
System.out.println("Points are checked");
}