tags:

views:

18

answers:

2

How to add a dropdownbox in paricular cell in JTable, something like microsoft excel?

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
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