private void expand() { resize(new Coord(sz.x, 100)); setcanfocus(true); if (sel != null) sel.show(); chansel.show(); expanded = true; }
public void select(Channel chan) { Channel prev = sel; sel = chan; if (expanded) { if (prev != null) prev.hide(); sel.show(); resize(sz); } }