graphStretch = -1;
graphStretchY = -1;
mouseDragging = false;
+ if (needValidating)
+ {
+ ap.validate();
+ needValidating=false;
+ }
ap.scalePanel.mouseReleased(evt);
}
public void mouseClicked(MouseEvent evt)
{
}
-
+ boolean needValidating=false;
public void mouseDragged(MouseEvent evt)
{
if (graphStretch > -1)
}
graphStretchY = evt.getY();
adjustPanelHeight();
+ needValidating=true;
ap.paintAlignment(true);
}
else
height += aa[i].height;
}
}
- else
+ if (height==0)
{
height = 20;
}
-
this.setSize(getSize().width, height);
-
repaint();
return height;