void paint(Graphics g) {
if (myIsHidden) return;
Color borderColor = getBorderColor();
if (!myIsFolded) {
int xs[] = {-HALF_WIDTH, -HALF_WIDTH, 0, HALF_WIDTH, HALF_WIDTH};
<BUG>int ys[] = {myY1, myY1 + CANT_HEIGHT, myY1 + HEIGHT, myY1 + CANT_HEIGHT, myY1};
g.setColor(myBackgroundColor);
g.fillPolygon(xs, ys, xs.length);
g.setColor(borderColor);</BUG>
g.drawPolygon(xs, ys, xs.length);

void paint(Graphics g) {
if (myIsHidden) return;
Color borderColor = getBorderColor();
if (!myIsFolded) {
int xs[] = {-HALF_WIDTH, -HALF_WIDTH, 0, HALF_WIDTH, HALF_WIDTH};
int ys[] = {myY1, myY1 + CANT_HEIGHT, myY1 + HEIGHT, myY1 + CANT_HEIGHT, myY1};
if (myMouseOver) {
g.setColor(myBackgroundColor);
g.fillPolygon(xs, ys, xs.length);
}
g.setColor(borderColor);
g.drawPolygon(xs, ys, xs.length);
