code: private static ImageIcon setWaitIcon(final JLabel label) {
          final ImageIcon ico =
              new ImageIcon(Studio.class.getResource("loader.gif"));
  
          label.setIcon(ico);
          ico.setImageObserver(label);
  
          return ico;
      }
docs: Sets wait icon on |label|.