Posts tagged file

add jFileChooserFilter to your java code

Hi,
Today I am going to show the way to use JFileChooser with FileNameExtensionFilter. This is very useful for building user friendly applications. FileNameExtensionFilter is used to tell which files extentions are allowed for the jFileChooser. This will make files with specific extensions appear and all other files disappear from the jfilechooser dialog.
First of all we [...]

Change, create, modify and access date time of a file

Hi all,
This is a simple trick to change the created, modified and accessed data and time for a specific file.
First, change your operating system clock to the date/time you want. here i set it to 2000.

Then make a copy of your file. this will change the creation date and time to the system date and [...]

Recover your files from dead operating system

Hi all,

How do you feel when computer refuse to start, especially when it says that your operating system is infected or corrupted so it will not work until further notice.
If I am the one to answer this question, then I will say no problem at all. I am not a lair, after saying “damn this [...]

Create configuration file for your application

Hi all,

Today I am going about making a configuration file for your application. Such file can enhance your product quality.

First we need the definition of a configuration file. As its name says, a configuration file is a file used to store configuration of programs. Simple example is your desktop background. Each time you start [...]

usefulness of corrupted files

hi all, this articles is an unusual one. today we are going to see the usefulness of corrupted files [superemotions file="icon_exclaim.gif" title="Exclaimaition Mark"]
before that, we need to mention some points such as:

definition of corrupted files
types of corrupted files

real corruption
fake corruption
recoverable
unrecoverable

causes of corrupted files

intended
unintended

uses of corrupted files
conclusion

Definition of corrupted files:
a corrupted file is a computer file [...]