这里是我的代码:如何在JLabel中调整Image/IconImage的大小?
String s = "/Applications/Asphalt6.app";
JFileChooser chooser = new JFileChooser();
File file = new File(s);
Icon icon = chooser.getIcon(file);
// show the icon
JLabel ficon = new JLabel(s, icon, SwingConstants.LEFT);
现在,从图标中提取的图像是非常小的。我怎样才能调整它?
例如参见[此](http://www.javalobby.org/articles/ultimate-image/#11)。但是一旦它变得更大,你的图标可能会相当丑陋。 – toto2