TableComboBoxEditor

Top  Previous  Next

 

TableComboBoxEditor is an editor for table and tree table cells that uses multiple values contained in a JComboBox. TableComboBoxEditor has three constructors:

 

TableComboBoxEditor();

TableComboBoxEditor(JComboBox comboBox);

TableComboBoxEditor(String[] items);

 

Example: Create a TableComboBoxEditor.

 

String countries[] = new String[] {

       "Greece",

       "Argentina",

       "Germany",

       "Spain",

};

TableCellEditor combo = new com.sciapp.editors.TableComboBoxEditor(countries);