@author gwgThis class provides the display components for handling Short data types, specifically SQL type, SMALLINT. The display components are for:
- read-only display within a table cell
- editing within a table cell
- read-only or editing display within a separate window
The class also contains
- a function to compare two display values to see if they are equal. This is needed because the display format may not be the same as the internal format, and all internal object types may not provide an appropriate equals() function.
- a function to return a printable text form of the cell contents, which is used in the text version of the table.
The components returned from this class extend RestorableJTextField and RestorableJTextArea for use in editing table cells that contain values of this data type. It provides the special behavior for null handling and resetting the cell to the original value.