Re: JTextField
От: Zelgadis Россия  
Дата: 09.05.07 15:58
Оценка:
Здравствуйте, Аноним, Вы писали:

А>Какой метод используется для запрета ввода текста в JTextField???


setEditable
public void setEditable(boolean b)
Sets the specified boolean to indicate whether or not this TextComponent should be editable. A PropertyChange event ("editable") is fired when the state is changed.

Parameters:
b — the boolean to be set
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.