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
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Swing / AWT / SWT
[URGENT]Making an Editable JList
Anirban dutta
Ranch Hand
Posts: 89
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Dear all,
I want to have editable cells in a JList same as in JTable. Is it possible. Please help? Urgently needed.
Thanks and Regards
Joe Ess
Bartender
Posts: 9626
16
I like...
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You have to create a custom cell renderer for the JList to handle the editing. The
JList
section of the Swing Tutorial covers the basics. It defers to the
combobox
for an example, since they both use the same cell renderer interface.
[
How To Ask Questions On JavaRanch
]
Joe Ess
Bartender
Posts: 9626
16
I like...
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
On second thought, you would probably be better off using a one-column JTable, as it provides an editor implementation.
[
How To Ask Questions On JavaRanch
]
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Drag and Drop cannot access inside content
Jcombobox or Jlist?
Editable JList?
JList or JTable
Editable JList
More...