Mark/highlight a tab

I need a way to signal to the user that a specific tab (not necessary the selected one) needs attention.
Is there a way to highlight a tab or flash or change on/off the tab’s icon?
I tried to use icons to show the ‘need attention’ state:

tab.setIcon(“attn.png”); -> doesnt work after the tab was created;
also
tabSet.setTabIcon(aTabId, “attn.png”); -> changes the ‘close’ icon instead of showing the icon beside the title
Any suggestions? Thanks!

Try

String icon = "image/gif/icon_history.gif";
String imgHTML = Canvas.imgHTML(icon);
tabSet.setTabTitle("<span>" + imgHTML + " " + title + "</span>");

Perfect, it works! Thanks!