]> ruin.nu Git - moosique.git/blobdiff - MooViewCounter.java
documentation..
[moosique.git] / MooViewCounter.java
index 8383b6cb44405a8749a0ba046101689c7d05e8d6..16d34b9c42b9abdb3f7767e73683af5c268faad4 100644 (file)
@@ -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
+}