hi,
i m facing a small prob in GUI, need to save my output to a particular folder.
below this code showing the square of any integer in TextField named: "resultField". i've a button "save" that need to save the result from that TextField, suppose in my "c:\Repository " folder as a txt file.
In addition, the name of the txt file can be same as given input integer. Example: 77, 99, .. whatever the input integer.
how can i do this ?? pls help...
JOYA SILVA.
CODE:
import java.awt.*;
import java.awt.event.*;
public class SaveData extends Frame implements ActionListener {