jcald179508
change bCut symbol
+10 −2
2 files changed
- M .gitignore +1 −1
- M GFrame.java +9 −1
| @@ -1 +1 @@ | |||
| 1 | − | ./bin | |
| 1 | + | bin/* | |
| @@ -1,3 +1,10 @@ | |||
| 1 | + | /* | |
| 2 | + | * TODO: | |
| 3 | + | * Item positions are hard coded, make them dynamic | |
| 4 | + | * so that window can be set to resizable. | |
| 5 | + | */ | |
| 6 | + | ||
| 7 | + | ||
| 1 | 8 | import java.util.Vector; | |
| 2 | 9 | import javax.swing.*; | |
| 3 | 10 | import java.awt.Color; | |
| @@ -57,7 +64,8 @@ public class GFrame extends JFrame { | |||
| 57 | 64 | JButton bSub = newButton("-", 250, 250, 100, 40); | |
| 58 | 65 | JButton bMul = newButton("X", 250, 200, 100, 40); | |
| 59 | 66 | JButton bDiv = newButton("%", 250, 150, 100, 40); | |
| 60 | − | JButton bCut = newButton("<x", 180, 300, 60, 40); | |
| 67 | + | JButton bCut = newButton("", 180, 300, 60, 40); | |
| 68 | + | bCut.setFont(new Font("JetBrainsMono Nerd Font", Font.PLAIN, 20 )); | |
| 61 | 69 | JButton bRightPar = newButton(")", 110, 100, 60, 40); | |
| 62 | 70 | JButton bLeftPar = newButton("(", 40, 100, 60, 40); | |
| 63 | 71 | JButton bDoubleZero = newButton("00", 40, 300, 60, 40); | |