Пример #1
0
 private void expand() {
   resize(new Coord(sz.x, 100));
   setcanfocus(true);
   if (sel != null) sel.show();
   chansel.show();
   expanded = true;
 }
Пример #2
0
 public void select(Channel chan) {
   Channel prev = sel;
   sel = chan;
   if (expanded) {
     if (prev != null) prev.hide();
     sel.show();
     resize(sz);
   }
 }