if (columnSelection != null)
{
- for (int n = 0; n < columnSelection.size(); n++)
+ if (columnSelection.contains(column))
{
- int v = columnSelection.columnAt(n);
-
- if (v == column)
- {
- g.fillRect(x * charWidth, y, charWidth, charHeight);
- }
+ g.fillRect(x * charWidth, y, charWidth, charHeight);
}
}
}