Transferring data from the deposit JTextField to the deposit list.
For each entry into the deposit textField (depositField), press the "ok" button and in the listener for the "ok" button you add the depositField entry to the list:
public void actionPerformed(ActionEvent e) {
String text = depositField.getText();
DefaultListModel model = (DefaultListModel)list.getModel();
model.addElement(text);
depositField.setText("");
}
To be able to make changes to the list you will need to use a DefaultListModel.
JList list = new JList(new DefaultListModel());