I like this effect (which is used here in StackOverflow too to remove comments) that when the mouse enters a row an icon is shown to remove this row. If the mouse doesn't hit any row there is no icon at all.
I solved this in my GWT application but I am not so happy with the solution because it seems hat it consumes a lot of CPU. What I did: Every row has an icon with is setVisible(false)
at the beginning. To the table I add a MouseMoveHandler
and if the mouse hits a row this image gets visible. Another MouseOutHandler
is added to the table which hides every image if the mouse leaves the table.
Do you see an alternative to solve this problem effectively?