我想的getMinimumSize返回重量= 0作弊GridBagLayout.ipadx 我曾嘗試: public class ImprovedLabel extends JLabel {
@Override
public Dimension getMinimumSize() {
return new Dimension(0, this.getHeight(
當我想要將圖片上傳到我的亞馬遜S3存儲桶時出現問題。 我試圖上傳一個大小爲238 KB的jpg圖像。我在代碼中加入了一個try/catch來檢查錯誤是什麼。我總是得到這個錯誤: Your proposed upload is smaller than the minimum allowed size 我也試過這與圖像從1MB和2MB,同樣的錯誤...。 這裏是我的代碼:(我已經改變了水桶,按鍵和圖