Finding saved file

i’m developing a project where i open a notepad for the client he may use it for any purpose & may save his file ,i need to find out where the file is stored .i want a java code so that it can help me plz
is there any way to show a messge in notepad from java
plzzzzzzzzzzz help me