protected FlashingIcon(Icon icon){
  this.icon=icon;
  Dimension d=new Dimension(icon.getIconWidth(),icon.getIconHeight());
  setMinimumSize(d);
  setMaximumSize(d);
  setPreferredSize(d);
  setVisible(false);
  addMouseListener(this);
}

protected FlashingIcon ( Icon icon ) { this . icon = icon ; Dimension d = new Dimension ( icon . getIconWidth ( ) , icon . getIconHeight ( ) ) ; setMinimumSize ( d ) ; setMaximumSize ( d ) ; setPreferredSize ( d ) ; setVisible ( false ) ; addMouseListener ( this ) ; }
creates a new instance of flashingicon
