public void actionPerformed(ActionEvent evt)
{
AlignmentAnnotation[] aa = av.alignment.getAlignmentAnnotation();
- if (aa==null)
+ if (aa == null)
{
return;
}
if (needValidating)
{
ap.validate();
- needValidating=false;
+ needValidating = false;
}
ap.scalePanel.mouseReleased(evt);
}
public void mouseClicked(MouseEvent evt)
{
}
- boolean needValidating=false;
+
+ boolean needValidating = false;
+
public void mouseDragged(MouseEvent evt)
{
if (graphStretch > -1)
}
graphStretchY = evt.getY();
adjustPanelHeight();
- needValidating=true;
+ needValidating = true;
ap.paintAlignment(true);
}
else
height += aa[i].height;
}
}
- if (height==0)
+ if (height == 0)
{
height = 20;
}
if (v == column)
{
- g
- .fillRect(x * av.charWidth, y, av.charWidth,
- av.charHeight);
+ g.fillRect(x * av.charWidth, y, av.charWidth, av.charHeight);
}
}
}
if (sCol == 0 || row.annotations[sCol - 1] == null
|| row.annotations[sCol - 1].secondaryStructure != 'H')
{
- g
- .fillArc(lastSSX, y + 4 + iconOffset, av.charWidth, 8,
- 90, 180);
+ g.fillArc(lastSSX, y + 4 + iconOffset, av.charWidth, 8, 90, 180);
x1 += av.charWidth / 2;
}