Results 1 to 4 of 4
Thread: Clear Method
- 03-28-2010, 01:22 AM #1
Member
- Join Date
- Mar 2010
- Posts
- 12
- Rep Power
- 0
Clear Method
Hi Guys,
I am making a program that has a reset and submit button. When the user clicks reset everything the user filled in sure be erased but I can't find a clear or remove method. Can anyone give me an idea about this? I have tried to search other forums and google/java api but I cant find one. Thanks :D
-
- 03-28-2010, 01:38 AM #3
Member
- Join Date
- Mar 2010
- Posts
- 12
- Rep Power
- 0
I am using Swing components like Jtextfield, JTextarea etc
-
To clear a text component in Swing, simply call setText("") on the component.
Similar Threads
-
please clear my doubt
By syedabu in forum Web FrameworksReplies: 1Last Post: 02-11-2010, 10:11 AM -
Need For Clear Screen
By adithya4u4ever in forum New To JavaReplies: 8Last Post: 03-08-2009, 08:41 AM -
clear cache
By Jadellll in forum New To JavaReplies: 0Last Post: 03-20-2008, 09:27 AM -
Help, someone clear up Interfaces for me
By mathias in forum New To JavaReplies: 1Last Post: 08-06-2007, 02:26 AM -
I want to do is clear the console
By paul in forum Advanced JavaReplies: 7Last Post: 08-03-2007, 06:54 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks