Skip to content

Commit

Permalink
added keyboard support
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelvansciver committed Feb 1, 2021
1 parent bcfce2a commit 7bb35c3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Calculator.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ public void addText(Object tmp){
/**@param object mapped to button
*adds text from button to expression to be evaluated*/
expression = text.getText().trim();
System.out.println(expression);
if (tmp.equals(buttons[17])) {
//if tmp == CLEAR
infix.deleteCharAt(infix.length()-1);
Expand Down

0 comments on commit 7bb35c3

Please sign in to comment.