Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Tim Cooke
Devaka Cooray
Sheriffs:
Liutauras Vilda
paul wheaton
Rob Spoor
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Piet Souris
Mikalai Zaikin
Bartenders:
Carey Brown
Roland Mueller
Forum:
Swing / AWT / SWT
JList + Vector
jrookie
Greenhorn
Posts: 17
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i make empty JList
like that
JList list=new JList();
and i get Vector after some actions
can i put Vector in this JList ?
Nathan Pruett
Bartender
Posts: 4121
I like...
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
"
jrookie
" -
Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy
.
You can change it
here
.
JList has the
setListData(Vector) method
exactly for this purpose...
Thanks! and welcome to the JavaRanch!
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
No matter. Try again. Fail again. Fail better. This time, do it with this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
How to bind a JList to a Bean class property
JList setListData problem
Please Help: JList selectable options from 'name' field from each object in a HashMap
Regarding JList- Combobox Swing
Get selected value from a JList
More...