I am using textpad to compile and run my Java applications.

I was just wondering is there any way of hiding the cmd window once my program is running ( i am not using it in any way) and close when i finish using my program?

If it has something to do with batch files - i don't know anything about these!!

Sorry for the inconvenience and thanks in advance

mungo