假設有個JFormattedTextField 物件叫FT
設定值 FT.setValue(Object value);

取得值請用FT.getValue(); 回傳 Object

之前呆呆的用setText(String string) 跟 getText() 這是錯誤用法


arrow
arrow
    全站熱搜

    eric1300460 發表在 痞客邦 留言(1) 人氣()