Example #1
0
 void setIconHints(java.util.List<XIconInfo> icons) {
   if (!XWM.getWM().setNetWMIcon(this, icons)) {
     if (icons.size() > 0) {
       if (iconWindow == null) {
         iconWindow = new XIconWindow(this);
       }
       iconWindow.setIconImages(icons);
     }
   }
 }
Example #2
0
  public void dispose() {
    if (content != null) {
      content.destroy();
    }
    focusProxy.destroy();

    if (iconWindow != null) {
      iconWindow.destroy();
    }

    super.dispose();
  }