|
|
|
|
@ -187,17 +187,17 @@ public void paintComponent(Graphics g) {
|
|
|
|
|
Constants.MOVER_END_COLOR);
|
|
|
|
|
|
|
|
|
|
g2.setPaint(p);
|
|
|
|
|
g2.fillRoundRect(0, 1, this.getWidth(), this.getHeight() - 1, 7, 7);
|
|
|
|
|
g2.fillRoundRect(1, 1, this.getWidth(), this.getHeight() - 1, 7, 7);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (this.isSelected) {
|
|
|
|
|
|
|
|
|
|
g2.setColor(Constants.SELECTED_END_COLOR);
|
|
|
|
|
g2.fillRoundRect(0, 0, this.getWidth(), this.getHeight(), 7, 7);
|
|
|
|
|
g2.fillRoundRect(1, 0, this.getWidth(), this.getHeight(), 7, 7);
|
|
|
|
|
|
|
|
|
|
g2.setColor(Constants.BLUE_GRAY_BORDER_DARKER_COLOR);
|
|
|
|
|
g2.setStroke(new BasicStroke(1.5f));
|
|
|
|
|
g2.drawRoundRect(0, 0, this.getWidth() - 1, this.getHeight() - 1,
|
|
|
|
|
g2.drawRoundRect(1, 0, this.getWidth() - 1, this.getHeight() - 1,
|
|
|
|
|
7, 7);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|