Cell Editors
in Java |
Prof. David Bernstein
|
Computer Science Department |
bernstdh@jmu.edu |
String
representationComponent
can use
to render individual elementsJComboBox
and JTable
have
cells that are, in principal, editableComponent
that can, temporarily, be
displayed at the location of the cell and used to edit
the contents of that cellComboBoxEditor
JComboBox
has ActionListener
objects that are notified when the editing is complete
(e.g., when the user presses Enter in
a text-based instance) so custom editors must provide
this capabilityActionListener
Support: