scusate ancora se scrivo ma ho avuto altri problemi vi prego aiutatemi non riesco a scrivere su file il testo contenuto su una textArea, come posso fare?
Nel file trovo solo una serie di rettangolini...

ecco il codice!!!!

public void actionPerformed(ActionEvent evt)
{ Object source = evt.getSource();

String film = new String();
String pro = new String();
String gen = new String();
String anno = new String();

try{
FileOutputStream f1 = new FileOutputStream("record.txt");


film = area.getText();
pro = area1.getText();
gen = area2.getText();
anno = area3.getText();


f1.write(film.length());
f1.write(pro.length());
f1.write(gen.length());
f1.write(anno.length());

f1.close();

// System.out.println("" + film);

}catch(IOException e){
System.err.println("Si e' verificato un errore!!! OutException");
}

}