aboutsummaryrefslogtreecommitdiff
path: root/src/main/ui
diff options
context:
space:
mode:
authorj-james2022-12-03 05:59:16 +0000
committerj-james2022-12-03 05:59:16 +0000
commit35741efd699e67382367411fcb991e2366a6774f (patch)
treeb145a8460bb272d11426e05c3153608d8888db40 /src/main/ui
parenta164c6c77d67c4622cb393c3a92b19acf371a58e (diff)
Add class and function comments
Diffstat (limited to 'src/main/ui')
-rw-r--r--src/main/ui/BrowserBar.java1
-rw-r--r--src/main/ui/BrowserCanvas.java1
2 files changed, 2 insertions, 0 deletions
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);