Our company is trying to move everyone from Window XP to Windows 7, so I\'m testing some of the home-grown SWT applications to make sure that they still work on Windows 7. M
Try adding the following listener to your table:
//Assuming your table is named 'table' and 'backgroundColor' is the
//color you're using to paint it's background.
table.addListener(SWT.EraseItem, new Listener() {
@Override
public void handleEvent(Event event) {
event.gc.setBackground(backgroundColor);
event.gc.fillRectangle(event.getBounds());
}
});
This should solve your problems with vertical lines. Here's how it looks on my example table:
Without the listener (notice the vertical lines, they are not black in my case, they're gray..but they're still visible):
And now with the listener added: