if (columnSelection != null)
{
- for (int v : columnSelection.getSelected())
+ if (columnSelection.isSelected(column))
{
- if (v == column)
- {
- g.fillRect(x * charWidth, y, charWidth, charHeight);
- }
+ g.fillRect(x * charWidth, y, charWidth, charHeight);
}
}
}