Results 1 to 4 of 4
- 05-06-2010, 07:02 AM #1
Member
- Join Date
- May 2010
- Posts
- 13
- Rep Power
- 0
- 05-06-2010, 07:05 AM #2
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
Read the API specs for the JOptionPane and the File classes. They have methods that will do the job.
Careful with the path of the files you are deleting though, you just said 1.txt should be deleted but which 1.txt file if there are many of them in different directories?
- 05-06-2010, 07:07 AM #3
Member
- Join Date
- May 2010
- Posts
- 13
- Rep Power
- 0
no, its just in a directories. can u provided the code for me? i am still new. thx
- 05-06-2010, 07:10 AM #4
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
Similar Threads
-
i have a small error but i can't figure out what is wrong [code provided]
By blueduiker in forum New To JavaReplies: 3Last Post: 01-11-2010, 06:48 AM -
How to remove “Input method” submenu selection from StyledText context menu?
By Mitja in forum SWT / JFaceReplies: 0Last Post: 09-21-2009, 11:33 AM -
Remove repeated code
By FraggleBoDiddly in forum New To JavaReplies: 6Last Post: 10-26-2008, 02:28 PM -
Can any one solve this?I want full code.
By sreenathuuu in forum New To JavaReplies: 3Last Post: 08-20-2008, 08:45 AM -
How to remove Control Characters from an input file?
By renjan in forum Advanced JavaReplies: 0Last Post: 08-01-2007, 03:33 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks