Create an ImageIcon from the resized BufferedImage. You do not have to set the preferred size of the JLabel. Once you've scaled the image to the size you want, ...
確定! 回上一頁