SwingSet Changelog

What's new in SwingSet 2.0.0 Beta

Aug 11, 2012
  • Changes:
  • SSCheckBox:
  • Adding constructor that takes text for check box. Removed the preferred size setting.
  • Changed the way focus is transfered for ENTER key.
  • SSComboBox:
  • Changed the way focus is transfered for ENTER key.
  • Added a function updateDisplay(boolean useTextField) which can be used in setSelectedValue.
  • Uses listener on rowset to update the value in the combo box. Doesn't use the listener on SSTextDocument any more. As a result removed the depricated constructor that takes SSTextDocument.
  • SSDataGrid:
  • Added SSDataGridHandler.
  • Disabling the use of focus traversal keys in default editor and date editor. This will allow the use of tab to move to next cell while editing.
  • When using a combo renderer and the underlying value is null returning index -1.
  • Added ability to specify if deletions should be allowed.
  • SSDataNavigator:
  • Reseting the onInsertRow flag when a new rowset is set.
  • Had to do conditional call to doCommitButtonClick in updatePresentRow to make sure we are on a valid row .
  • Added try/catch in updatePresentRow i) In updatePresentRow calling doCommitButtonClick ii) When on insert row and allowInsertion returns false staying in insertion row rather than making a call to moveToCurrentRow().
  • In updatePresentRow allowUpdate was not called before calling updateRow().
  • Modified the code to call allowUpdate & performPostUpateOps in updatePresentRow.
  • While deleting the row checking for confirmDeletes variable to display the confirmation dialog.
  • SSDBComboBox:
  • Added a text filter for the items in the combo box. The setFilterable() method can turn the filter on or off.
  • Changed the way focus is transfered for ENTER key.
  • In key listener ignoring function keys.
  • SSDBNavImp:
  • Setting default value to null if it is an instance of SSFormattedTextField.
  • SSTableKeyAdapter:
  • When pasting creating object only when string value is not null.
  • SSTableModel:
  • Calling functions on the data grid handler.
  • When the underlying column is timestamp using updateTimestamp rather than updateDate.
  • getValueAt now returns null if a given column has null.
  • It used to return 0 for numeric fields (getInt, getDouble return 0 for null columns)
  • Trimming any spaces on either side to avoid NumberFormatException. This could happen when copying data to the spreadsheet.
  • SSTextArea:
  • Removed the init method that is setting the preferred size. This causes problem with the scrollpane.
  • SSTextDocument:
  • When the underlying column is timestamp using updateTimestamp rather than updateDate.
  • getText now returns null if getObject returns null.
  • SSTextField:
  • Changed the way focus is transfered for ENTER key.
  • SSJdbcRowSetImpl:
  • Added get/update methods for Array.
  • Added method get/update methods for Time & TimeStamp.
  • Added get/set methods for object.
  • Added rowDeleted, rowInserted, rowUpdated methods
  • Added getMetaData method.
  • SSJdbcRowSetImplBeanInfo:
  • Name of property in property descriptor for command was set as query changed it to command.
  • SSRowSet:
  • Added get/update methods for Array.
  • Added method get/update methods for Time & TimeStamp.
  • Added get/set methods for object.
  • Added rowDeleted, rowInserted, rowUpdated methods
  • Added getMetaData method.
  • SSRowSetAdapter:
  • Added get/update methods for Array.
  • Added method get/update methods for Time & TimeStamp.
  • Added get/set methods for object.
  • Added rowDeleted, rowInserted, rowUpdated methods
  • Added getMetaData method.
  • SelectorComboBoxModel:
  • Modified to support the navigation in the SSDBCOMBOBOX filter.
  • Changed parameter name in javadoc
  • SSFormattedTextField:
  • In DbToFm function which is trying to set the display based on value from database changed the function calls from this.setValue to super.setValue as we have now overridden the setValue in this class. Also changed this in couple other functions.
  • Deprecated updateValue and added setValue.
  • When the underlying value is null setting value of null to the component.