From 46f83731f76ccb703307a9705c5cca93bfaf40d9 Mon Sep 17 00:00:00 2001 From: krolxon Date: Sat, 17 Feb 2024 19:59:03 +0530 Subject: add clear history button --- History.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'History.java') diff --git a/History.java b/History.java index b1527ef..ef2807b 100644 --- a/History.java +++ b/History.java @@ -7,6 +7,10 @@ public class History { hist = new Vector(); } + public void clearHistory() { + hist.clear(); + } + public Vector getHistory() { return hist; } -- cgit v1.2.3