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 ; }
Sets wait icon on |label| .