i have writen a program to act as a recorder and another program to store the details entered and a gui interface for the information to be entered. but when i enter the details into the textfield the information isn't stored
i am using my getter methods in my Recorder class to take the information from the textfield by using this code
if(source == dtextfield)
{afine.getCarColour();
etextfield.requestFocus();
}
else
if(source == etextfield)
{
afine.getCarType();
book.requestFocus();
}
if(source == save)
{
Record.recordticket(afine);
Record.save();
Record.load();
}
and i want to save it to a txt file by using my methods save and load and recorderticket from the program i have to store the information
but it keeps saying on the dos screen the qoutes i have set foe no information entered
if u can understand this any help would be great
i am using my getter methods in my Recorder class to take the information from the textfield by using this code
if(source == dtextfield)
{afine.getCarColour();
etextfield.requestFocus();
}
else
if(source == etextfield)
{
afine.getCarType();
book.requestFocus();
}
if(source == save)
{
Record.recordticket(afine);
Record.save();
Record.load();
}
and i want to save it to a txt file by using my methods save and load and recorderticket from the program i have to store the information
but it keeps saying on the dos screen the qoutes i have set foe no information entered
if u can understand this any help would be great