http://docs.oracle.com/javase/tutorial/essential/io/rafs.html Use Random Access File Class, it helps you to position your cursor on desired location on file and over write the sold objects with empty spaces. And instead of using text file why dont you use database, like mysql or access. or you can move towards xml to make the process more efficient.
vinnitro commented: thnx for helping it worked +2
nagatron commented: nice job. . I never thought my problem would be that easy. .hehe thank you +3