button.setOpaque(true)后是顯示所在panel的背景色(background)的吧, 如果是在panel上畫的背景圖恐怕沒辦法用setopaque(ture)解決。
確定! 回上一頁