hi, Can anybody help me out?. I am writing one Notepad application, there i require OS's SAVE dialog box.Now i am getting the Save Dialog box. But How to save a String that is Where the user types (Like NotePad) to a file. and similarly how get a file and show it in to the TextArea object. The code is like this. [here sn is the frame(defined earlier).] FileDialog fldSave=new FileDialog(sn,"Simple Save DialogBox",FileDialog.SAVE); fldSave.setVisible(true);