Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

clear text field in java

btnClear.addSelectionListener(new SelectionAdapter()
  {
    @Override
    public void widgetSelected(SelectionEvent e)
    {
      textBox1.setText("");
      textBox2.setText("");
     }
  });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #clear #text #field #java
ADD COMMENT
Topic
Name
8+4 =