public JPanel addNumberButtons(JTextField DispField){
		final JTextField Field = DispField;
		JPanel ButtonPanel = new JPanel();
	    ButtonPanel.setLayout(new GridLayout(4, 3));
	    ButtonPanel.setPreferredSize(new Dimension(500,320));
	    ButtonPanel.setMaximumSize(new Dimension(500,500));
	    
	    JButton [] NumButtons = new JButton[10];
	    JButton StarButtons = new JButton("*");
	    StarButtons.setFont(NumButtonsFont);
	    StarButtons.setPreferredSize(new Dimension(100,75));
	    StarButtons.addActionListener(new ActionListener() { 
    	public void actionPerformed(ActionEvent ev) { 
    		if(Field.getText().length()<MaxChars) 
    			Field.setText(Field.getText()+"*");
    		if(!MainFrame.RedirectPanel.isVisible()) CallButton.setEnabled(true);    		
            } 
	    });
	    JButton latticeButtons = new JButton("#");
	    latticeButtons.setFont(NumButtonsFont);
	    latticeButtons.setPreferredSize(new Dimension(100,75));
	    latticeButtons.addActionListener(new ActionListener() { 
    	public void actionPerformed(ActionEvent ev) { 
    		if(Field.getText().length()<MaxChars) 
    			Field.setText(Field.getText()+"#");
    		if(!MainFrame.RedirectPanel.isVisible()) CallButton.setEnabled(true);     		  	 	
            } 
	    });

	    
	    for (int i=0; i<10; i++){
	    	final String name=""+i;
            NumButtons[i]=new JButton(""+i); 
            NumButtons[i].setFont(NumButtonsFont);
	    	NumButtons[i].setPreferredSize(new Dimension(100,75));
	    	NumButtons[i].addActionListener(new ActionListener() { 
	    	public void actionPerformed(ActionEvent ev) { 
	    		if(Field.getText().length()<MaxChars)
	    			Field.setText(Field.getText()+name);
	    		if(!MainFrame.RedirectPanel.isVisible()) CallButton.setEnabled(true);      	  
	            } 
		    });
        }
	    
	    for (int i=1;i<=9;i++){
	    	ButtonPanel.add(NumButtons[i]);
        }
	    ButtonPanel.add(StarButtons);
	    ButtonPanel.add(NumButtons[0]);
	    ButtonPanel.add(latticeButtons);
       
	    return ButtonPanel;
		
	}