We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 343f863 commit 8aa884cCopy full SHA for 8aa884c
src/simplejavacalculator/UI.java
@@ -31,7 +31,7 @@ public class UI implements ActionListener {
31
private final JTextArea text;
32
private final JButton but[], butAdd, butMinus, butMultiply, butDivide,
33
butEqual, butCancel, butSquareRoot, butSquare, butOneDevidedBy,
34
- butCos, butSin, butTan,butxpowerofy,butlog,butrate;
+ butCos, butSin, butTan, butxpowerofy, butlog, butrate;
35
private final Calculator calc;
36
37
private final String[] buttonValue = { "0", "1", "2", "3", "4", "5", "6",
@@ -59,9 +59,9 @@ public UI() {
59
butCos = new JButton("Cos");
60
butSin = new JButton("Sin");
61
butTan = new JButton("Tan");
62
- butxpowerofy=new JButton("x^y");
63
- butlog=new JButton("log10(x)");
64
- butrate=new JButton("x%");
+ butxpowerofy = new JButton("x^y");
+ butlog = new JButton("log10(x)");
+ butrate = new JButton("x%");
65
66
butCancel = new JButton("C");
67
0 commit comments