看板 java 關於我們 聯絡資訊
我想要讓使用者在table中按下某按鍵時會跳出dialog 但是在使用者選擇一個editable的cell後再按下按鍵,cell就會同時進入edit的狀態 請問我要怎麼讓按下按鍵時不要編輯cell呢? 或者是指定某些cell不能編輯? ----- Sent from JPTT on my Sony D6653. -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.132.217.151 ※ 文章網址: https://www.ptt.cc/bbs/java/M.1448932362.A.D78.html
jinn: 改寫TableModel的isCellEditable(int,int) 也許行得通@@? 12/01 12:03
Expsun: 應該是要從Editor/Renderer下手 12/01 20:39