看板 [ java ]
討論串[問題] JButton的setEnable不work
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓5(5推 0噓 4→)留言9則,0人參與, 最新作者tkcn (say)時間12年前 (2013/03/19 02:43), 編輯資訊
0
0
1
內容預覽:
我猜 doSomething() 是個花時間的操作,. 而你判斷有沒有 setEnable"d" 只是觀察 button 的顏色?. 首先你需要知道: http://goo.gl/t3bHe. 其中 event dispatch thread 會負責處理 event-handling,以及 UI 的
(還有344個字)

推噓3(3推 0噓 2→)留言5則,0人參與, 最新作者mrker (ꬮ....)時間12年前 (2013/03/19 01:30), 編輯資訊
0
0
0
內容預覽:
最近在寫UI的時候發生很無法理解的狀況. this.execute_jBtn.addActionListener(new ActionListener() {. @Override. public void actionPerformed(ActionEvent e) {. execute_jBtn
(還有793個字)
首頁
上一頁
1
下一頁
尾頁