Вход на сайт
Java
94 просмотров
Перейти к просмотру всей ветки
в ответ Solna 30.03.04 13:43
getText
public String getText()
Returns the text contained in this TextComponent. If the underlying document is null, will give a NullPointerException.
String text = ta.getText(,0);
Не забудь проверку на null сделать.
Manche Hähne glauben, dass die Sonne ihretwegen aufgeht