View Single Post
  #1 (permalink)  
Old 05-06-2008, 11:16 PM
Jay-1.1 Jay-1.1 is offline
Member
 
Join Date: May 2008
Posts: 10
Jay-1.1 is on a distinguished road
Text Area new line problem in Java
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

Code:
if(e.getSource() == btnSubmitOrder){ txaSubmittedOrder.setText(txfName.getText ()); txaSubmittedOrder.setText(txaItemSelected.getText ()); txaSubmittedOrder.setBackground(Color.blue); txaSubmittedOrder.setForeground(Color.black); }
Thanks

Last edited by Jay-1.1 : 05-07-2008 at 01:46 AM.
Reply With Quote
Sponsored Links