I wouldl like to add JComboBox to JTable header so that a user can choose a different header name for each column in JTable. I tried to create a class extends JComboBox and implements TableCellRenderer, but it only showed the first entry, then does not show all other items ( I mean it does not extend a cell window to display others by clicking).
Could someone give me a direction ? It looks like the header in JTable cannot be treated like a regular cell. I would like to know how to get around this problem.
posted 11 years ago
Paper has not yet been outlawed – so let your Java Swing application print with wild abandon: JPDF