gps = getDisplayedFeatureGroups();
if (typ != null)
{
+ ArrayList types = new ArrayList();
for (int i = 0; i < typ.length; i++)
{
- System.err.println("Sorting on Types:" + typ[i]);
+ if (typ[i]!=null)
+ {
+ types.add(typ[i]);
+ }
+ typ = new String[types.size()];
+ types.toArray(typ);
}
}
if (gps != null)
{
+ ArrayList grps = new ArrayList();
for (int i = 0; i < gps.length; i++)
{
- System.err.println("Sorting on groups:" + gps[i]);
+ if (gps[i]!=null) {
+ grps.add(gps[i]);
+ }
}
+ gps = new String[grps.size()];
+ grps.toArray(gps);
}
AlignmentPanel alignPanel = af.alignPanel;
AlignmentI al = alignPanel.av.getAlignment();
{
Color newColor = gcol.getMaxColor();
comp.setBackground(newColor);
- System.err.println("Width is " + w / 2);
+ // System.err.println("Width is " + w / 2);
Icon ficon = new FeatureIcon(gcol, comp.getBackground(), w / 2, h);
comp.setIcon(ficon);
// tt+="RGB value: Max (" + newColor.getRed() + ", "