public void addButton(List<positionNode> information){
		final List<positionNode> position = information;
		//количество блоков
		p=position.size()/16;
		SecondPagePanel = new JPanel[p+1];
	    for(int i =0 ; i <= p;i++){
	    	SecondPagePanel[i] = new JPanel();
	    	SecondPagePanel[i].setMaximumSize(new Dimension(900, 500));
	    	SecondPagePanel[i].setLayout(new GridLayout(8, 2,10,10));
	        }
	    int k=0;
		for (int i = 0,j=0; i < position.size(); i++,j++) {
			if(j==16){
				//j - количество кнопок в блоке
				j=0;
			    k++;
			        }
	    	positionNode positionNode = position.get(i);
	    	List<infoNode> info = positionNode.getInfo();
			String job = positionNode.getName(); 
			String name = info.get(0).getName(); 
            final String number = info.get(1).getNumber(); 
    	    //создание кнопок
            JButton button = new JButton(); 
           
            button.setLayout(new BorderLayout());
		    button.setMaximumSize(new Dimension(450,100));
		    button.setPreferredSize(new Dimension(450,100));

            JLabel label1 = new JLabel(job,JLabel.CENTER);
            JLabel label2 = new JLabel(name,JLabel.CENTER);
            label1.setFont(Font);
            label2.setFont(Font);
            
            button.add(BorderLayout.NORTH,label1);
            button.add(BorderLayout.CENTER,label2);

		    button.addActionListener(new ActionListener() { 
			public void actionPerformed(ActionEvent ev) { 
				if(container == MainFrame.container) Phone.Call(number);
				else RedirectPhone.Redirect(number);
		         }
		    });
		    SecondPagePanel[k].add(button);
		}
	}