(Graphics g, int left, int right,
boolean leftNotch, boolean rightNotch,
boolean selected)
| 311 | |
| 312 | |
| 313 | private void drawTab(Graphics g, int left, int right, |
| 314 | boolean leftNotch, boolean rightNotch, |
| 315 | boolean selected) { |
| 316 | Graphics2D g2 = (Graphics2D) g; |
| 317 | final int bottom = TAB_BOTTOM + (selected ? TAB_BELOW : 0); |
| 318 | g2.fill(Toolkit.createRoundRect(left, TAB_TOP, |
| 319 | right, bottom, |
| 320 | leftNotch ? CURVE_RADIUS : 0, |
| 321 | rightNotch ? CURVE_RADIUS : 0, |
| 322 | 0, 0)); |
| 323 | } |
| 324 | |
| 325 | |
| 326 | /** |
no test coverage detected