public Dimension getMaximumSize() {
   return new Dimension(fIcon.getWidth(), fIcon.getHeight());
 }
 public Dimension getPreferredSize() {
   return new Dimension(fIcon.getWidth(), fIcon.getHeight());
 }