ui.label.setForeground(fg);
ui.ping.setForeground(fg);
}
Icon icon = null;
ProductIDs product = user.getStatString().getProduct();
int specialIcon = user.getStatString().getIcon();
if(specialIcon == product.getDword())
specialIcon = 0;
BNetIcon[] icons = IconsDotBniReader.getIcons();
boolean keepThisIcon = false;
if(icons != null)
for(BNetIcon element : icons) {
//Look for
if(element.useFor(ui.user.getFlags(), specialIcon)) {
keepThisIcon = true;
icon = element.getIcon();
break;
}
if(element.useFor(ui.user.getFlags(), product.getDword())) {
icon = element.getIcon();
}
}
if(!keepThisIcon) {