How do you append to a JTextField with a JButton without the previous text being deleted

for example if i had
JButton num0 = new JButton("0")
JButton num1 = new JButton("1")
JTextField text =...