diff options
author | j-james | 2022-12-03 05:59:16 +0000 |
---|---|---|
committer | j-james | 2022-12-03 05:59:16 +0000 |
commit | 35741efd699e67382367411fcb991e2366a6774f (patch) | |
tree | b145a8460bb272d11426e05c3153608d8888db40 /src/main/ui | |
parent | a164c6c77d67c4622cb393c3a92b19acf371a58e (diff) |
Add class and function comments
Diffstat (limited to 'src/main/ui')
-rw-r--r-- | src/main/ui/BrowserBar.java | 1 | ||||
-rw-r--r-- | src/main/ui/BrowserCanvas.java | 1 |
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); |