ui.ping.setForeground(fg);
}*/
BNetIcon[] icons = IconsDotBniReader.getIcons();
if(icons != null) {
BNetIcon icon = icons[4]; // Glasses
/* A = superuser, can perform any administrative action
* B = broadcast, may use talk-to-all
* C = connection, may administer botnet connectivity
* D = database, may create and maintain databases
* I = ID control, may create and modify hub IDs
* S = botnet service
*/
String flags = user.getZTFF();
if(flags.contains("B"))
icon = icons[3]; // Speaker
if(flags.contains("S"))
icon = icons[1]; // B.net
if(flags.contains("C"))
icon = icons[2]; // Oper
if(flags.contains("A"))
icon = icons[0]; // Blizzard
if(icon != null)
ui.label.setIcon(icon.getIcon());
}
users.put(user.getNumber(), ui);
validate();
}