aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2024-02-16 23:14:47 +0530
committerkrolxon <krolyxon@tutanota.com>2024-02-16 23:14:47 +0530
commitd179508e19553d02176e2d4473c0fd514b7bc78a (patch)
treeba44acf8f0c9dd698e3c7c2d4d2dba698a4a009b
parent054e6f464b6daec5caa78c9dc839a7c325b3b93a (diff)
change bCut symbol
-rw-r--r--.gitignore2
-rw-r--r--GFrame.java10
2 files changed, 10 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 0354010..36f971e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-./bin
+bin/*
diff --git a/GFrame.java b/GFrame.java
index 885875e..648e6a0 100644
--- a/GFrame.java
+++ b/GFrame.java
@@ -1,3 +1,10 @@
+/*
+* TODO:
+* Item positions are hard coded, make them dynamic
+* so that window can be set to resizable.
+*/
+
+
import java.util.Vector;
import javax.swing.*;
import java.awt.Color;
@@ -57,7 +64,8 @@ public class GFrame extends JFrame {
JButton bSub = newButton("-", 250, 250, 100, 40);
JButton bMul = newButton("X", 250, 200, 100, 40);
JButton bDiv = newButton("%", 250, 150, 100, 40);
- JButton bCut = newButton("<x", 180, 300, 60, 40);
+ JButton bCut = newButton("", 180, 300, 60, 40);
+ bCut.setFont(new Font("JetBrainsMono Nerd Font", Font.PLAIN, 20 ));
JButton bRightPar = newButton(")", 110, 100, 60, 40);
JButton bLeftPar = newButton("(", 40, 100, 60, 40);
JButton bDoubleZero = newButton("00", 40, 300, 60, 40);