Hobi amaçlı vs. uğraşıyorum arkadaşlar da, bu kodda bir hata var ve bi şeyler yanlış ama çözemedim. Var mı fikri olan acaba? Çok teşekkür ederim şimdiden. import javax. swing. ; import java. awt. ; import java. awt. event. ActionEvent; import java. awt. event. ActionListener; public class Machine extends JFrame { double sonuc = 0; double sayi; char ch = ' '; public Machine { JFrame cerceve = new JFrame ; cerceve. setSize(300, 400); Ekleme(cerceve. getContentPane ; cerceve. setLayout(new FlowLayout ; cerceve. setLocationRelativeTo ; cerceve. setResizable ; cerceve. setVisible ; cerceve. setDefaultCloseOperation ; JMenuBar menuBar = new JMenuBar ; JMenuItem item1 = new JMenuItem ; JMenuItem item2 = new JMenuItem ; menuBar. add(item1); menuBar. add(item2); item1. addActionListener(new ActionListener { @Override public void actionPerformed }); item2. addActionListener(new ActionListener { @Override public void actionPerformed }); cerceve. add ; cerceve. setJMenuBar ; } private void Ekleme { JPanel panel1 = new JPanel ; JPanel panel2 = new JPanel ; panel1. setLayout(new GridLayout(2, 1, 10, 10)); panel2. setLayout(new GridLayout(4, 4, 10, 10)); JTextField field1 = new JTextField(15); JTextField field2 = new JTextField(15); field2. setHorizontalAlignment ; JButton button1 = new JButton(\"7\"); JButton button2 = new JButton(\"8\"); JButton button3 = new JButton(\"9\"); JButton toplama = new JButton ; JButton button4 = new JButton(\"4\"); JButton button5 = new JButton(\"5\"); JButton button6 = new JButton(\"6\"); JButton cikarma = new JButton ; JButton button7 = new JButton(\"1\"); JButton button8 = new JButton(\"2\"); JButton button9 = new JButton(\"3\"); JButton bolme = new JButton ; JButton button10 = new JButton(\"0\"); JButton temizle = new JButton ; JButton esittir = new JButton ; JButton carpma = new JButton ; field1. setEditable ; panel1. add(field1); panel1. add(field2); panel2. add(button1); panel2. add(button2); panel2. add(button3); panel2. add ; panel2. add(button4); panel2. add(button5); panel2. add(button6); panel2. add ; panel2. add(button7); panel2. add(button8); panel2. add(button9); panel2. add ; panel2. add(button10); panel2. add ; panel2. add ; panel2. add ; frame. add(panel1); frame. add(panel2); button1. addActionListener(new ActionListener { @Override public void actionPerformed }); button2. addActionListener(new ActionListener { @Override public void actionPerformed }); button3. addActionListener(new ActionListener { @Override public void actionPerformed }); button4. addActionListener(new ActionListener { @Override public void actionPerformed }); button5. addActionListener(new ActionListener { @Override public void actionPerformed }); button6. addActionListener(new ActionListener { @Override public void actionPerformed }); button7. addActionListener(new ActionListener { @Override public void actionPerformed }); button8. addActionListener(new ActionListener { @Override public void actionPerformed }); button9. addActionListener(new ActionListener { @Override public void actionPerformed }); button10. addActionListener(new ActionListener { @Override public void actionPerformed }); toplama. addActionListener(new ActionListener { @Override public void actionPerformed }); cikarma. addActionListener(new ActionListener { @Override public void actionPerformed }); bolme. addActionListener(new ActionListener { @Override public void actionPerformed }); carpma. addActionListener(new ActionListener { @Override public void actionPerformed }); temizle. addActionListener(new ActionListener { @Override public void actionPerformed }); esittir. addActionListener(new ActionListener { @Override public void actionPerformed { //sayi = Integer. parseInt(field2. getText ; if else if else if else if else if field2. setText(field2. getText ; } }); } public static void main }