This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes ambiguity in jlist Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "ambiguity in jlist" Watch "ambiguity in jlist" New topic
Author

ambiguity in jlist

Neha Kaushik
Greenhorn

Joined: Apr 03, 2013
Posts: 29
hi..
i have a jlist binded with database.. in database i stored multiple items in single id.. it is displaying it as every item with that id..
for eg..
i selected from a jlist mouse, printer, ups and stored it with a unique id..
in database it is showing like this

hardware quantity id
mouse 1 it request8696
printer 2 it request8696
switch 34 it request8696



now i have bind this db table with another jlist which showing only id's..

i want it to show it request8696 to b shown only once.. but it is showing 3 times..
i have used netbeans bind elements to bind jlist..
please help..
thank you in advance..
i am new in java..

but it is showing 3 times..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ambiguity in jlist
 
Similar Threads
drag and drop in the same JList and more...
JList
ambiguity in jlist binded with database in netbeans
getting result in textfield using jlist
Right Click List Selection