private void createButtons() {
		JButton buttonMC = new JButton("MC");
		buttonMC.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			  calculadora.processaMC();
			}
		});
		buttonMC.setBounds(45, 79, 63, 39);
		frame.getContentPane().add(buttonMC);
		
		display = new JTextField();
		display.setHorizontalAlignment(SwingConstants.RIGHT);
		display.setBounds(112, 11, 226, 56);
		frame.getContentPane().add(display);
		display.setColumns(10);
		
		JButton buttonMR = new JButton("MR");
		buttonMR.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaMR();
			}
		});
		buttonMR.setBounds(115, 79, 63, 39);
		frame.getContentPane().add(buttonMR);
		
		JButton btnMS = new JButton("MS");
		btnMS.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				calculadora.processaMS();
			}
		});
		btnMS.setBounds(190, 79, 63, 39);
		frame.getContentPane().add(btnMS);
		
		JButton btnMMais = new JButton("M+");
		btnMMais.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaMMais();
			}
		});
		btnMMais.setBounds(265, 79, 63, 39);
		frame.getContentPane().add(btnMMais);
		
		JButton btnMMenos = new JButton("M-");
		btnMMenos.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaMMenos();
			}
		});
		btnMMenos.setBounds(340, 79, 63, 39);
		frame.getContentPane().add(btnMMenos);
		
		JButton btnCE = new JButton("CE");
		btnCE.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaCE();
			}
		});
		btnCE.setBounds(45, 130, 63, 39);
		frame.getContentPane().add(btnCE);
		
		JButton btnC = new JButton("C");
		btnC.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaC();
			}
		});
		btnC.setBounds(115, 130, 63, 39);
		frame.getContentPane().add(btnC);
		
		JButton btnRaiz = new JButton("Raiz");
		btnRaiz.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				try {
					calculadora.processaRaiz();
				} catch (IOException e1) {
					// TODO Auto-generated catch block
					e1.printStackTrace();
				}
			}
		});
		btnRaiz.setBounds(265, 130, 63, 39);
		frame.getContentPane().add(btnRaiz);
		
		JButton buttonMaisOuMenos = new JButton("+/-");
		buttonMaisOuMenos.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaMaisOuMenos();
			}
		});
		buttonMaisOuMenos.setBounds(190, 130, 63, 39);
		frame.getContentPane().add(buttonMaisOuMenos);
		
		JButton btnFatorial = new JButton("n!");
		btnFatorial.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				try {
					calculadora.processaFatorial();
				} catch (IOException e1) {
					// TODO Auto-generated catch block
					e1.printStackTrace();
				}
			}
		});
		btnFatorial.setBounds(340, 130, 63, 39);
		frame.getContentPane().add(btnFatorial);
		
		JButton buttonSete = new JButton("7");
		buttonSete.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaSete();
			}
		});
		buttonSete.setMnemonic(java.awt.event.KeyEvent.VK_NUMPAD7);
		buttonSete.setBounds(45, 181, 63, 39);
		frame.getContentPane().add(buttonSete);
		
		JButton buttonOito = new JButton("8");
		buttonOito.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaOito();
			}
		});
		buttonOito.setBounds(115, 181, 63, 39);
		buttonOito.setMnemonic(java.awt.event.KeyEvent.VK_NUMPAD8);
		frame.getContentPane().add(buttonOito);
		
		JButton buttonNove = new JButton("9");
		buttonNove.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaNove();
			}
		});
		buttonNove.setBounds(190, 181, 63, 39);
		buttonNove.setMnemonic(java.awt.event.KeyEvent.VK_NUMPAD8);
		frame.getContentPane().add(buttonNove);
		
		JButton buttonDivisao = new JButton("/");
		buttonDivisao.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaDivisao();
			}
		});
		buttonDivisao.setBounds(265, 181, 63, 39);
		frame.getContentPane().add(buttonDivisao);
		
		JButton buttonPercentual = new JButton("%");
		buttonPercentual.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				try {
					calculadora.processaPorcentual();
				} catch (IOException e1) {
					// TODO Auto-generated catch block
					e1.printStackTrace();
				}
			}
		});
		buttonPercentual.setBounds(340, 181, 63, 39);
		frame.getContentPane().add(buttonPercentual);
		
		JButton buttonQuatro = new JButton("4");
		buttonQuatro.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaQuatro();
			}
		});
		buttonQuatro.setBounds(45, 232, 63, 39);
		buttonQuatro.setMnemonic(java.awt.event.KeyEvent.VK_NUMPAD4);
		frame.getContentPane().add(buttonQuatro);
		
		JButton buttonCinco = new JButton("5");
		buttonCinco.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaCinco();
			}
		});
		buttonCinco.setBounds(115, 232, 63, 39);
		buttonCinco.setMnemonic(java.awt.event.KeyEvent.VK_NUMPAD5);
		frame.getContentPane().add(buttonCinco);
		
		JButton buttonSeis = new JButton("6");
		buttonSeis.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaSeis();
			}
		});
		buttonSeis.setBounds(190, 232, 63, 39);
		buttonSeis.setMnemonic(java.awt.event.KeyEvent.VK_NUMPAD6);
		frame.getContentPane().add(buttonSeis);
		
		JButton buttonVezes = new JButton("*");
		buttonVezes.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaVezes();
			}
		});
		buttonVezes.setBounds(265, 232, 63, 39);
		frame.getContentPane().add(buttonVezes);
		
		JButton btnUmSobreX = new JButton("1/x");
		btnUmSobreX.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				try {
					calculadora.processaUmSobreX();
				} catch (IOException e1) {
					// TODO Auto-generated catch block
					e1.printStackTrace();
				}
			}
		});
		btnUmSobreX.setBounds(340, 232, 63, 39);
		frame.getContentPane().add(btnUmSobreX);
		
		JButton buttonUm = new JButton("1");
		buttonUm.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaUm();
			}
		});
		buttonUm.setBounds(45, 280, 63, 39);
		buttonUm.setMnemonic(java.awt.event.KeyEvent.VK_NUMPAD1);
		frame.getContentPane().add(buttonUm);
		
		JButton buttonDois = new JButton("2");
		buttonDois.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaDois();
			}
		});
		buttonDois.setBounds(115, 280, 63, 39);
		buttonDois.setMnemonic(java.awt.event.KeyEvent.VK_NUMPAD2);
		frame.getContentPane().add(buttonDois);
		
		JButton buttonTres = new JButton("3");
		buttonTres.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaTres();
			}
		});
		buttonTres.setBounds(190, 280, 63, 39);
		buttonTres.setMnemonic(java.awt.event.KeyEvent.VK_NUMPAD3);
		frame.getContentPane().add(buttonTres);
		
		JButton buttonMenos = new JButton("-");
		buttonMenos.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaMenos();
			}
		});
		buttonMenos.setBounds(265, 280, 63, 39);
		frame.getContentPane().add(buttonMenos);
		
		JButton btnXElevadoY = new JButton("x^y");
		btnXElevadoY.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaXElevadoY();
			}
		});
		btnXElevadoY.setBounds(340, 280, 63, 39);
		frame.getContentPane().add(btnXElevadoY);
		
		JButton buttonZero = new JButton("0");
		buttonZero.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaZero();
			}
		});
		buttonZero.setBounds(45, 322, 63, 39);
		frame.getContentPane().add(buttonZero);
		
		JButton buttonVirgula = new JButton(",");
		buttonVirgula.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaVirgula();
			}
		});
		buttonVirgula.setBounds(115, 322, 63, 39);
		frame.getContentPane().add(buttonVirgula);
		
		JButton buttonIgual = new JButton("=");
		buttonIgual.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				try {
					calculadora.processaIgual();
				} catch (IOException e1) {
					e1.printStackTrace();
				}
			}
		});
		buttonIgual.setBounds(190, 322, 63, 39);
		buttonIgual.setMnemonic(java.awt.event.KeyEvent.VK_EQUALS);
		frame.getContentPane().add(buttonIgual);
		
		JButton buttonMais = new JButton("+");
		buttonMais.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaMais();
			}
		});
		buttonMais.setBounds(265, 322, 63, 39);
		frame.getContentPane().add(buttonMais);
		
		JButton btnLog = new JButton("log");
		btnLog.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				calculadora.processaLog();
			}
		});
		btnLog.setBounds(340, 322, 63, 39);
		frame.getContentPane().add(btnLog);
		
		JMenuBar menuBar = new JMenuBar();
		menuBar.setBounds(45, 283, 132, 22);
		frame.getContentPane().add(menuBar);
		
		JButton buttonUndo = new JButton("Undo");
		buttonUndo.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				calculadora.processaUndo();
			}
		});
		buttonUndo.setBounds(45, 26, 63, 39);
		frame.getContentPane().add(buttonUndo);
		
		JButton buttonRedo = new JButton("Redo");
		buttonRedo.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				calculadora.processaRedo();
			}
		});
		buttonRedo.setBounds(340, 26, 63, 39);
		frame.getContentPane().add(buttonRedo);
	}