View Single Post
  #1  
Old 01-14-2010, 08:46 AM
Java Java is offline
Senior Member
 
Join Date: Jun 2009
Posts: 8,402
Default problem in saving the file

i am creating a text editor using java swings concept this is the code i am using to save a file jfr.setTitle(fname.getName()); FileOutputStream fop=new FileOutputStream(fname); fop.write(jta.getText().getBytes()); fop.flush(); fop.close(); where fname is the name given in save file...
__________________
Java
domain name forum
Reply With Quote