}
}
+
+ /**
+ * 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;
g2.drawLine(0, c * CELL_HEIGHT * measure, 30, c * CELL_HEIGHT * measure); // 1/1
}
}
-}
\ No newline at end of file
+}