aspose file tools
The moose likes Beginning Java and the fly likes Adding objects to list Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Adding objects to list" Watch "Adding objects to list" New topic
Author

Adding objects to list

Asrita Saran
Greenhorn

Joined: Jul 11, 2007
Posts: 14
Hi..
I am trying to add objects to a list

Please have a look at this code..



I added sanctionOrDeclineWaiver object to sanctionedOrDeclinedWaiverList and printed it immediately.
It printed both the objects correctly after adding to the list but on the UI i'm getting the object which was added first twice..
I dont understand why this is happening




This is the result im getting on UI

PartyId CaseId WaiverId OrganizationName Evidence Type Waiver Status Reason
11761091 12 748 test13 Request Open sdf
11761091 12 748 test13 Request Open sdf


Can anyone please help me out .
[ September 18, 2008: Message edited by: Asrita Saran ]
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

Please Use One Thread Per Question. We'll continue here since there are already replies to that one.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Adding objects to list
 
Similar Threads
java desing issue
Garbage Collection - outOfMemory
Adding objects to the list
Regarding Logic iterate
GENERICS