假設有個JFormattedTextField 物件叫FT
設定值 FT.setValue(Object value);
取得值請用FT.getValue(); 回傳Object
之前呆呆的用setText(String string) 跟 getText() 這是錯誤用法
文章標籤
全站熱搜
假設有個JFormattedTextField 物件叫FT
設定值 FT.setValue(Object value);
取得值請用FT.getValue(); 回傳Object
之前呆呆的用setText(String string) 跟 getText() 這是錯誤用法

狡兔三窟
eric1300460 發表在 痞客邦 留言(1) 人氣(180)
哈 還有這一招呀 記下來 記下來!