(Graphics g)
| 130 | } |
| 131 | |
| 132 | public void paint(Graphics g) { |
| 133 | if (showBar) { |
| 134 | fill3DRect(g, x - 1, y - 1, width + 1, height + 1); |
| 135 | drawBar(g); |
| 136 | } else { |
| 137 | g.setColor(backgroundColor); |
| 138 | g.fillRect(0, 0, canvasWidth, canvasHeight); |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | void drawBar(Graphics g) { |
| 143 | int barEnd = (int) (width * slowX); |
no test coverage detected