public TrackBarTickPainter (Graphics g, Pen pen) { this.g = g; this.pen = pen; } public void Paint (float x1, float y1, float x2, float y2)