How to add a dropdownbox in paricular cell in JTable, something like microsoft excel?
views:
18answers:
2
A:
Writing a Custom Cell Renderer discusses this topic and links to similar examples. Concepts: Editors and Renderers elaborates on the notion of custom renderers and editors.
trashgod
2010-02-18 20:09:18
A:
You should implement the table cell editor based on JComboBox. Here is the starting point: http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#combobox
eugener
2010-02-18 20:21:32