ctf.requestFocus();
}};
public ConfigFlagChecks(int flags) {
super(BoxLayout.Y_AXIS);
ColorScheme colors = ColorScheme.getColors();
for(BNetIcon bni : IconsDotBniReader.getIcons()) {
int f = bni.getFlags();
if(f == 0)
continue;
JCheckBox cb = new JCheckBox("", false);
Box b = new Box(BoxLayout.X_AXIS);
b.add(cb);
JLabel jl = new JLabel(
" 0x" + Integer.toHexString(f),
bni.getIcon(),
SwingConstants.LEFT);
jl.setForeground(colors.getUserNameColor(f));
b.add(jl);
b.add(Box.createHorizontalGlue());
add(b);
cb.addChangeListener(cl);