plz plz plz help me(java)
i have a java program.i have inserted a JTextArea. basically i want to create a button thatwill clear the text area.i dnt no hw,could u plx forward me sum ideas and maybe sum code.thanku.
Have you looked at other recently posted Java programs? Some of those have examples of using buttons.
Hint: To clear a textarea set its contents to "" (an empty string)
you can do this
That would be the function of the method invoked in the registered ActionListener responding to the ActionEvent triggered by the push of the "Clear Text" JButton ...
By nsbscool in forum Java
Last Post: 05-02-2005, 08:01 AM
Last Post: 05-14-2003, 03:25 PM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center