StringBuffer graphLine = new StringBuffer();
StringBuffer rowprops = new StringBuffer();
Hashtable graphGroup = new Hashtable();
+ BitSet graphGroupSeen = new BitSet();
java.awt.Color color;
{
row = annotations[i];
- if (!row.visible && !row.hasScore())
+ if (!row.visible && !row.hasScore() && !(row.graphGroup>-1 && graphGroupSeen.get(row.graphGroup)))
{
continue;
}
if (row.graphGroup > -1)
{
+ graphGroupSeen.set(row.graphGroup);
String key = String.valueOf(row.graphGroup);
if (graphGroup.containsKey(key))
{
text.append(graphLine.toString());
if (graphGroup.size() > 0)
{
- text.append("COMBINE\t");
Enumeration en = graphGroup.elements();
while (en.hasMoreElements())
{
+ text.append("COMBINE\t");
text.append(en.nextElement());
text.append(newline);
}