Beispiel #1
0
 private void handleDispose(Event event) {
   if (parent != null) {
     parent.removeItem(RadioItem.this);
   }
   if (button != null) {
     button.dispose();
     if (parent != null && !parent.isDisposed()) parent.layout(false);
   }
   RadioItem.this.parent = null;
   button = null;
 }