diff --git a/src/main/java/src/TasksFrame.java b/src/main/java/src/TasksFrame.java index 3262ee1..f98d8d4 100644 --- a/src/main/java/src/TasksFrame.java +++ b/src/main/java/src/TasksFrame.java @@ -138,10 +138,20 @@ public class TasksFrame extends JFrame { x.setBounds(10,50,30,20); x.setVisible(true); + JLabel diff = new JLabel(); + diff.setBounds(40, 50, 10, 20); + diff.setVisible(true); + diff.setText("-"); + JTextField y = new JTextField(); y.setBounds(50,50,30,20); y.setVisible(true); + JLabel equal = new JLabel(); + equal.setBounds(90, 50, 30, 20); + equal.setVisible(true); + equal.setText("="); + JTextField result = new JTextField(); result.setBounds(100,50,40,20); result.setVisible(true); @@ -166,6 +176,8 @@ public class TasksFrame extends JFrame { jPanel.add(y); jPanel.add(result); jPanel.add(difference); + jPanel.add(diff); + jPanel.add(equal); }