public void addMoveButton(){
		 panel=0;
	     MovePanel = new JPanel();
	     final JButton BackButton = new JButton("назад");
	     BackButton.setPreferredSize(new Dimension(190,60));
	     BackButton.setFont(arrFont);
	     BackButton.setEnabled(false);
	     final JButton ForwardButton = new JButton("вперёд");
	     ForwardButton.setPreferredSize(new Dimension(190,60));
	     ForwardButton.setFont(arrFont);
	     if(p==0) ForwardButton.setEnabled(false);
	     BackButton.addActionListener(new ActionListener() { 
				public void actionPerformed(ActionEvent ev) {
					Layout(--panel);
					ForwardButton.setEnabled(true);
					if(panel>0) BackButton.setEnabled(true);
					else BackButton.setEnabled(false);
				} 
			});
	   
	     ForwardButton.addActionListener(new ActionListener() { 
				public void actionPerformed(ActionEvent ev) { 
					
					Layout(++panel);
					
					BackButton.setEnabled(true);
					if(panel==p) ForwardButton.setEnabled(false);
					else BackButton.setEnabled(true);
				} 
			});	
			
	     String Name = "Вернуться";
			JButton ReturnButton = new JButton(Name); 
			ReturnButton.setPreferredSize(new Dimension(220,80));
			ReturnButton.setFont(Font);
			ReturnButton.addActionListener(new ActionListener() { 
				public void actionPerformed(ActionEvent ev) { 
					  container.remove(second);
					  second.removeAll();
					  second.validate();
					  container.add(first,BorderLayout.WEST);
					  container.validate();
					  container.repaint();
				} 
			});
	     MovePanel.add(BackButton);
	     MovePanel.add(ReturnButton);
	     MovePanel.add(ForwardButton);
		}