From 35741efd699e67382367411fcb991e2366a6774f Mon Sep 17 00:00:00 2001 From: j-james Date: Fri, 2 Dec 2022 21:59:16 -0800 Subject: Add class and function comments --- src/main/ui/BrowserBar.java | 1 + src/main/ui/BrowserCanvas.java | 1 + 2 files changed, 2 insertions(+) (limited to 'src/main/ui') diff --git a/src/main/ui/BrowserBar.java b/src/main/ui/BrowserBar.java index ed9e314..e9db3c3 100644 --- a/src/main/ui/BrowserBar.java +++ b/src/main/ui/BrowserBar.java @@ -6,6 +6,7 @@ import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.*; +// BrowserBar public class BrowserBar extends JToolBar { private BrowserWindow parent; diff --git a/src/main/ui/BrowserCanvas.java b/src/main/ui/BrowserCanvas.java index 6fea735..1502c3d 100644 --- a/src/main/ui/BrowserCanvas.java +++ b/src/main/ui/BrowserCanvas.java @@ -18,6 +18,7 @@ public class BrowserCanvas extends JPanel { this.html = html; } + // EFFECTS: paints a component onto a canvas @Override public void paintComponent(Graphics g) { super.paintComponent(g); -- cgit v1.2.3-70-g09d2