From: Michael Andreen Date: Fri, 16 May 2003 15:53:32 +0000 (+0000) Subject: documentation.. X-Git-Url: https://ruin.nu/git/?p=moosique.git;a=commitdiff_plain;h=e8ff555b11770392c98b881d317d3297305733d6 documentation.. --- diff --git a/MooViewCounter.java b/MooViewCounter.java index 8383b6c..16d34b9 100644 --- a/MooViewCounter.java +++ b/MooViewCounter.java @@ -46,6 +46,11 @@ public class MooViewCounter extends JPanel { } } + + /** + * Draws the ruler-like fields. + * @param g The Graphics object it operates on. + */ public void paintComponent(Graphics g) { super.paintComponent(g); if (!(g instanceof Graphics2D)) return; @@ -59,4 +64,4 @@ public class MooViewCounter extends JPanel { g2.drawLine(0, c * CELL_HEIGHT * measure, 30, c * CELL_HEIGHT * measure); // 1/1 } } -} \ No newline at end of file +}