示例#1
0
 public Dimension getMaximumSize() {
   return new Dimension(fIcon.getWidth(), fIcon.getHeight());
 }
示例#2
0
 public Dimension getPreferredSize() {
   return new Dimension(fIcon.getWidth(), fIcon.getHeight());
 }