Hi, I have created an invisible text area to store my submitted details in. when I submit one thing its fine but if I submit two things it replaces the first one that i submitted do u know how I can solve this problem?
This is the code
if(e.getSource() == btnSubmitOrder){
txaSubmittedOrder.setText(txfName.getText ());
txaSubmittedOrder.setText(txaItemSelected.getText ());
txaSubmittedOrder.setBackground(Color.blue);
txaSubmittedOrder.setForeground(Color.black);
}
Thanks