How to assign empty textfield value as 0 in java applets? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

How to assign empty textfield value as 0 in java applets?

Give me the solution...

24th Aug 2017, 3:21 PM
Leo
1 ответ
0
Hi Leo, you can use the below code TextField txt= new TextField(10); txt.setText('0');
3rd Sep 2017, 12:39 PM
Nanda Balakrishnan