看板 java 關於我們 聯絡資訊
請問如果要按下不同的button後就可以設定JFrame的background 那麼 在listener中除了加入 theJFrame.setBackground(Color.red); theJFrame.validate(); 外還有什麼要加的嗎 因為我寫了上面兩行 but background只會閃一下 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.69.86
Jichang:theJFrame.getContentPane.setBackground() 看看 ... 05/23 14:19