-
Notifications
You must be signed in to change notification settings - Fork 2
/
CHANGELOG.txt
808 lines (661 loc) · 35.5 KB
/
CHANGELOG.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
==============================================================================
ChangeLog file for the SwingSet Open Toolkit for Java Swing.
==============================================================================
==============================================================================
SwingSet 4.0.6 - Released 2021-12-10
==============================================================================
Changes:
1. Updated log4j dependencies to 2.15.0 to address CVE-2021-44228.
2. Updated junit-jupiter-any dependency to 5.8.2.
==============================================================================
SwingSet 4.0.5 - Released 2021-11-22
==============================================================================
Changes:
1. Updated POM dependencies.
2. Fix for Issue #95 where adding a record to an empty rowset throws an
exception.
==============================================================================
SwingSet 4.0.4 - Released 2021-03-24
==============================================================================
Changes:
1. SSBaseComboBox.updateOption() - Combo editor was not updating
consistently. See https://github.com/bpangburn/swingset/issues/85
2. Updated Log4j and JUnit Maven dependencies.
3. Added explicit Maven plugins versions in POMs to eliminate warnings.
4. Initial fix for Issue #46 moving updateSSComponent out of SSComboBox
and SSDBComboBox.
5. SSTableKeyAdapter - Updated getObjectToSet method to use Date.valueOf
for converting string to date object. See:
https://github.com/bpangburn/swingset/issues/89
6. SSSyncManager - Calling updatePresentRow() on SSDataNavigator in the
combo ActionListener only when a row navigation is needed.
7. Demo: Logging level set to DEBUG by default.
8. Demo: Example4UsingHelper - update combo navigator dynamically when
Part Name is modified.
==============================================================================
SwingSet 4.0.3 - Released 2021-02-22
==============================================================================
Changes:
1. SSBaseComboBox - Remove check against getBoundColumnText() because
the rowset not updating as expected. New value from setBoundColumnText()
is not reflected in getBoundColumnText() until after call to updateRow().
2. Add auto commit to Add button to be consistent with other buttons.
Had to put dBNav.performPreInsertOps() in SwingUtilities.invokeLater()
or insert row would show values from newly-committed record.
==============================================================================
SwingSet 4.0.2 - Released 2021-02-18
==============================================================================
Changes:
1. SSDBComboBox - added constructor without _query parameter.
2. SSFormViewScreenHelper API change, replacing:
protected abstract void retrieveAndSetNewPrimaryKey();
with:
protected abstract String retrieveNewPrimaryKey();
3. Moved addSSComponentListener() and removeSSComponentListener() to
SSCommon, making companion methods in SSComponentInterface static.
4. Added abstract method EventListener getSSComponentListener() to
SSComponentInterface and implemented in applicable SwingSet
components.
5. Component change listener for binding is stored as private data member
in SSCommon and initialized in the bind() method.
==============================================================================
SwingSet 4.0.1 - Released 2021-02-04
==============================================================================
Changes:
1. Changed some ScreenHelper class methods from public to protected.
2. Changed abstract getJMenuBar() to getCustomMenu() in
SSScreenHelperCommon to avoid naming collision. Updated Demos.
3. Added static menu helper methods to SSScreenHelperCommon.
4. Added setSelectedEnum() to SSComboBox
5. Added some log4j warnings to SSDBComboBox.addOption() and updateOption()
==============================================================================
SwingSet 4.0.0 - Released 2021-01-31
==============================================================================
Changes:
1. Demo: moved instantiation of MainClass to SwingUtilities.invokeLater()
2. Moved recurring data members and logic to SSCommon
3. Established SSComponentInterface interface to be implemented by all
SwingSet components and eliminate redundant code.
4. Elimination of bound JTextFields/Document Listeners for components
NOT based on JTextComponent
5. Generic SSDocumentListener in SSCommon deals with multiple calls
better moving logic to changedUpdate() and SwingUtilities.invokeLater()
6. Added allowNull flag to SSCommon to allow user to leave certain
components unselected (e.g., combobox) and write null back to RowSet
bound column.
7. Added Log4J support.
8. Replaced dependency on com.sun.rowset with com.nqadmin.rowset using
new jdbcrowsetimpl Maven artifact. See:
https://github.com/bpangburn/jdbcrowsetimpl
9. Moved SSListItem to com.nqadmin.swingset.utils.
10.Deleted com.nqadmin.swingset.formatting.helpers package, which just
contained classes no longer used for SSDBComboBox filtering.
11.Deprecated SSBooleanField, SSImageField, SSMemoField, & SSStringField
in formatting package.
12.Added line wrapping to SSTextArea.
13.Preliminary support for JDBCType enum.
14.Demo: mysql support.
15.Deprecated SSConnection, SSRowSet, and SSJdbcRowSetImpl. Now using
java.sql.Connection, javax.sql.RowSet (com.nqadmin.rowset.JdbcRowSetImpl),
and com.nqadmin.swingset.datasources.RowSetOps, which is a utility class
with RowSet convenience methods.
16.For GlazedLists, restored the normal JComboBox behavior of not going past
the first or last item.
17.Addition of SSFormViewScreenHelper and SSDataGridScreenHelper to utils
package to assist with standardized screen creation.
18.Addition of GlazedList support to SSComboBox (enabled by default).
19.Support for null/empty first item in combo boxes via special nullItem.
20.Addition of hasItems() method to comboboxes to determine when a combo
does not have any items (excluding null first item).
21.Demo: added new screens that exercise all available components.
==============================================================================
SwingSet 3.0.0 - Released 2020-01-10
==============================================================================
Changes:
1. Changed package from com.nqadmin.swingSet to com.nqadmin.swingset
2. Migrated to Maven project. Separated demo. Created POM files.
3. JavaDoc updates.
4. Update POM for deployment to Maven Central via Nexus OSSRH
==============================================================================
SwingSet 2.3.1 - Released 2019-11-11
==============================================================================
Changes:
1. SSDataNavigator.setSSRowSet() only enabling add/delete if this.modification==true
==============================================================================
SwingSet 2.3.0 - Released 2019-11-09
==============================================================================
Changes:
1. Removed BeanInfo and SSFormattedCombobBox classes (moved to archive)
2. Addressed additional Eclipse compiler warnings
3. Addressed additional Eclipse JavaDoc warnings
4. Made many method parameters final
5. Allowing Eclipse to format code when saving a class
6. Removed any unqualified datamember access (e.g., use "this.x")
7. Made inner classes protected vs. private
8. Eliminated SSRowSetAdapter and SSConnectionEditor
9. Removed Bean property code from com.nqadmin.swingSet.datasources classes
10. Rewrote SSRowSet to extend RowSet and added default methods
11. Rewrote SSJdbcRowSetImpl to extend JdbcRowSetImpl and implement SSRowSet
12. Rewrote SSDBNav to add default methods from SSDBNavAdapter
13. Deprecated SSDBNavAdapter
14. Deprecated SSDBNavImp and replaced with SSDBNavImpl
15. Updated @deprecated JavaDoc annotation, providing link to suggested replacement
16. Removed SSDBCheckBox (deprecated long ago)
17. Fixed error in SSDBNavImpl when trying to clear fields for a new record
18. Fixes to SSDataNavigator to eliminate some redundant code and better support H2
19. Example code cleanup and documentation.
==============================================================================
SwingSet 2.2.0 - Released 2019-02-27
==============================================================================
Changes:
1. Updated code to support Java Generics
2. Addressed various Eclipse compilation and JavaDoc warnings
3. Set build source & target to Java 8 (1.8)
4. Cleaned up licensing & file header consistency using the Eclipse
Copyright Generator
==============================================================================
SwingSet 2.1.0 - Released 2018-09-18
==============================================================================
Changes:
1. Fixed the issue with the last/first buttons not being enabled/disabled correctly, when navigation happens directly on the rowset.
2. Fixed the issue of newly added item not being displayed in SSDBComboBox.
3. Fixed NullPointerException in SSDataGrid, when users enter empty string in a date column.
4. Fixed an exception in SSList while updating display, if the underlying rowset doesn't have any records.
5. In SSSyncManager, updating the navigator inside combo box listener only if combo box has focus (actionPerformed is due to user action).
6. Using locking mechanism while making any changes to the items in SSDBComboBox.
7. Made updates/fixes to various build scripts.
8. Updated project support email address in project docs.
9. Added populate.sql used for sample/demo to project (formerly available only online).
10. Corrected instructions for sample/demo.
11. Updated GlazedLists to 1.11.0.
12. Updated H2 used for sample/demo to 1.4.197.
==============================================================================
SwingSet 2.0.0 - Released 08-10-2012
==============================================================================
Classes or Interfaces added:
SSDataGridAdapter
SSDataGridHandler
SSList
SSArray
Changes:
SSCheckBox:
1. Adding constructor that takes text for check box. Removed the preferred size setting.
2. Changed the way focus is transfered for ENTER key.
SSComboBox:
1. Changed the way focus is transfered for ENTER key.
2. Added a function updateDisplay(boolean useTextField) which can be used in setSelectedValue.
3. 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 deprecated constructor that takes SSTextDocument.
SSDataGrid:
1. Added SSDataGridHandler.
2. 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.
3. When using a combo renderer and the underlying value is null returning index -1.
4. Added ability to specify if deletions should be allowed.
SSDataNavigator:
1. Reseting the onInsertRow flag when a new rowset is set.
2. Had to do conditional call to doCommitButtonClick in updatePresentRow to make sure we are on a valid row .
3. 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().
4. In updatePresentRow allowUpdate was not called before calling updateRow().
5. Modified the code to call allowUpdate & performPostUpateOps in updatePresentRow.
6. While deleting the row checking for confirmDeletes variable to display the confirmation dialog.
SSDBComboBox:
1. Added a text filter for the items in the combo box. The setFilterable() method can turn the filter on or off.
2. Changed the way focus is transfered for ENTER key.
3. In key listener ignoring function keys.
SSDBNavImp:
1. Setting default value to null if it is an instance of SSFormattedTextField.
SSTableKeyAdapter:
1. When pasting creating object only when string value is not null.
SSTableModel:
1. Calling functions on the data grid handler.
2. When the underlying column is timestamp using updateTimestamp rather than updateDate.
3. getValueAt now returns null if a given column has null.
4. It used to return 0 for numeric fields (getInt, getDouble return 0 for null columns)
5. Trimming any spaces on either side to avoid NumberFormatException. This could happen when copying data to the spreadsheet.
SSTextArea:
1. Removed the init method that is setting the preferred size. This causes problem with the scrollpane.
SSTextDocument:
1. When the underlying column is timestamp using updateTimestamp rather than updateDate.
2. getText now returns null if getObject returns null.
SSTextField:
1. Changed the way focus is transfered for ENTER key.
SSJdbcRowSetImpl:
1. Added get/update methods for Array.
2. Added method get/update methods for Time & TimeStamp.
3. Added get/set methods for object.
4. Added rowDeleted, rowInserted, rowUpdated methods
5. Added getMetaData method.
SSJdbcRowSetImplBeanInfo:
1. Name of property in property descriptor for command was set as query changed it to command.
SSRowSet:
1. Added get/update methods for Array.
2. Added method get/update methods for Time & TimeStamp.
3. Added get/set methods for object.
4. Added rowDeleted, rowInserted, rowUpdated methods
5. Added getMetaData method.
SSRowSetAdapter:
1. Added get/update methods for Array.
2. Added method get/update methods for Time & TimeStamp.
3. Added get/set methods for object.
4. Added rowDeleted, rowInserted, rowUpdated methods
5. Added getMetaData method.
SelectorComboBoxModel:
1. Modified to support the navigation in the SSDBCOMBOBOX filter.
2. Changed parameter name in javadoc
SSFormattedTextField:
1. 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.
2. Deprecated updateValue and added setValue.
3. When the underlying value is null setting value of null to the component.
==============================================================================
SwingSet 1.0.0-PR4 - Released 06-06-2006
==============================================================================
Changes:
SSDataNavigator:
1. Fixed check for confirmDeletes flag during row deletion.
==============================================================================
SwingSet 1.0.0-PR3 - Released 05-15-2006
==============================================================================
Changes:
Classes Added:
1. SSCuitField
2. SSImageField
3. SSStringField
4. SSTimeField
5. SSTimestampField
SSDBNav:
1. Added four new functions to the interface.
a) allowInsertion
b) allowDeletion
c) allowUpdate
d) performPostUpdateOps
SSDBNavAdapter:
1. Added default implementations for allowInsertion & allowDeletion
Both functions return true by default.
2. Added default inplementations for allowUpdate & performPostUpdateOps
SSDataNavigator:
1. Calling the functions allowInsertion & allowDeletion prior to adding
row or deleting the row.
2. In the updatePresentRow function checking for modification variable
before updating the row.
3. Added calls to allowUpdate & performPostUpdateOps
SSFormatterTextField:
1. Added the function updateValue to programmatically change the value
in the field. This was needed as setText will not work with
formatting.
SSDateField:
1. Added a constructor to take the date format as an argument.
2. Added two constants to represent the date formats
SSDateFormatterFactory:
1. Added a constructor to take the date format as an argument.
2. Added two constants to represent the date formats
SSTextField:
1. Transfering the focus on key released event of VK_ENTER rather than key pressed.
==============================================================================
SwingSet 1.0.0-PR2 - Released 03-09-2005
==============================================================================
Changes:
SSDBNavImp:
1. Added support for JScrollPane in setComponents. This should clear
the components in JScrollPane.
SSDataNavigator:
1. Updated the undoButton listener. Based on the insertRow flag calling
moveToCurrentRow().
2. Updating the current row number in the undoButton listener.
SSDataGrid:
1. Added custom editor to Numeric, String & Object type columns.
2. Modified the ComboRenderer to extend DefaultCellRenderer.UIResource
3. Added setSurrendersFocusOnKeystroke(true); to the init() method to
force JTable to surrender to the editor when keystrokes cause the
editor to be activated
SSTableModel:
1. Added TIMESTAMP type to the list of column types that are handled.
TimeStamp is also handled in the same way as date no special treatment.
SSTextDocument:
1. Added TIMESTAMP type to the list of sql types that are handled.
TimeStamp is also handled in the same way as date no special treatment.
==============================================================================
SwingSet 1.0.0-PR1 - Released 02-21-2005
==============================================================================
Changes:
Classes or Interfaces added in SwingSet-1.0.0-PR1
1. SSCheckBox - added to replace deprecated SSDBCheckBox.
2. SSLabel - new read-only label component based on JLabel
3. SSSlider - new slider component based on JSlider
4. SSImage - new image component capable of storing, retrieving, &
displaying GIF & JPEG files.
5. SSCheckBoxBeanInfo, SSComboBoxBeanInfo, SSDataGridBeanInfo,
SSDataNavigatorBeanInfo, SSDBComboBoxBeanInfo, SSImageBeanInfo,
SSLabelBeanInfo, SSSliderBeanInfo, SSTextAreaBeanInfo,
SSTextFieldBeanInfo, SSConnectionBeanInfo, SSJdbcRowSetImplBeanInfo -
new support classes for managing bean-related properties. Currently
only handle icon display.
6. SSSyncManager - added to com.nqadmin.swingSet.utils package to
simplify creation of screens with both combo box-based and
navigator-based navigation
SSComboBox:
1. Rewrote to extend JComboBox rather than JComponent.
SSDBCheckBox:
1. Rewrote to extend JComboBox rather than JComponent.
2. Added support for boolean database columns. Only tested with Postgresql.
3. Updated JavaDoc to reflect it.
4. Deprecated in favor of SSCheckBox to match naming conventions.
SSDBComboBox:
1. Added support for non-numeric primary keys.
SSTextDocument:
1. Fixed boolean rowset update.
(all classes)
1. cleaned up entire API to make methods as consistent as possible
across all components
2. deprecated methods, etc. which followed older naming conventions
(e.g. setRowSet() rather than setSSRowSet())
3. made any private data members or methods protected unless they were
listener-related
4. added, debugged, & standardized JavaDoc across all components
(all classes, readme.txt, FAQ.txt, & ChangeLog.txt)
1. Converted all tabs to soft tabs comprised of four actual spaces.
==============================================================================
SwingSet 0.9.2-beta - Released 11-01-2004
==============================================================================
Changes:
SSJdbcRowSetImpl:
1. Fixed issue with setCommand() not updating underlying JdbcRowSetImpl.
SSTableModel:
1. Added support for NUMERIC. Made type support consistent across
SwingSet: INTEGER, SMALLINT, TINYINT (Integer); BIGINT (Long);
FLOAT (Float); DOUBLE, NUMERIC (Double); BOOLEAN, BIT (Boolean);
DATE (Date); CHAR, VARCHAR, LONGVARCHAR (String).
2. Added this.fireTableDataChanged(); to init() to alert listeners to
change in data.
SSTextDocument:
1. Added support for NUMERIC. Made type support consistent across
SwingSet: INTEGER, SMALLINT, TINYINT (Integer); BIGINT (Long);
FLOAT (Float); DOUBLE, NUMERIC (Double); BOOLEAN, BIT (Boolean);
DATE (Date); CHAR, VARCHAR, LONGVARCHAR (String).
(all classes)
1. Fixed JavaDoc errors.
==============================================================================
SwingSet 0.9.1-beta - Released 10-28-2004
==============================================================================
Changes:
SSJdbcRowSetImpl:
1. Calling the setType & SetConcurrency methods on the
JdbcRowSetImpl instance variable.
==============================================================================
SwingSet 0.9.0-beta - Released 10-26-2004
==============================================================================
Changes:
Classes or Interfaces added in SwingSet-0.9.0:
1. SSConnection
2. SSRowSet
3. SSRowSetAdapter
4. SSJdbcRowSetImpl
SSConnection:
This acts as a wrapper class for Connection & supports serialization.
SSRowSet:
This interface is based on RowSet, with just the required functions.
Also extends Serializable interface.
SSRowSetAdapter:
This class provides empty functions for SSRowSet interface functions.
SSJdbcRowSetImpl:
This class extends SSRowSetAdapter. This is a wrapper for JdbcRowSetImpl
with support for serialization.
SSComboBox:
1. Using SSRowSet instead of RowSet.
SSDBCheckBox:
1. Using SSRowSet instead of RowSet.
SSDBComboBox:
1. Using SSRowSet instead of RowSet.
2. Using SSConnection instead of Connection.
SSDataGrid:
1. Using SSRowSet instead of RowSet.
SSTableModel:
1. Using SSRowSet instead of RowSet.
SSDataNavigator:
1. Using SSRowSet instead of RowSet.
==============================================================================
SwingSet 0.8.3-beta - Released 10-22-2004
==============================================================================
Changes:
Classes or Interfaces added in SwingSet-0.8.3:
1. SSTextArea.
SSDataGrid:
1.Using SSTextField as editor when a date editor is needed, rather
than having all the date mask code in the SSDataGrid again.
2.New function is provided to specify default column width for grid.
3.Column width can be specified when requesting a combo renderor.
For this additional functions are provided for specifying column
width.
4.Added getCellEditorValue function for DateEditor sub-class. Because
of this cell values (for columns of type Date) will be returned as
Date objects rather than as Strings.
This would require changes in SSCellEditing interface implementations
if String is expected as _newValue for Date columns.
5.Calling the createDefaultColumnModel function when a new rowset is
specified. This fixes the problem of not displaying any new columns
being added to the rowset. (If the initial query has 2 columns and
then a new rowset has been specified with 3 columns DataGrid was
still showing only 2 columns).
SSTableModel:
1.Value for Date column can be set using a String (accepted formats
mm/dd/yyyy or yyyy-mm-dd) or Date object.This helps the copy & paste
functionality in copying dates.
SSTextDocument:
1.Added support for CHAR types.
SSTextField:
1.The way the masks work is modified to handle more keys.
2.Enter key will transfer the focus to next component irrespective
of whether the mask being used.
3.Added focus listener to select complete text when the text field
receives focus.
==============================================================================
SwingSet 0.8.2-beta - Released 09-21-2004
==============================================================================
Changes:
SSDataNavigator:
1. Changed button names in code to more meaningful names
(e.g. button1 -> firstButton)
2.Refresh was calling next() twice. This was causing a problem
when the rowset has just one record.
3.Moving to the last record when the user presses the commit
button to save the record. This would keep the user in the
added record.
4.Added rowset listener to keep track of the record number,
if the rowset is navigated out side of the navigation bar
(using rowset navigation methods).
5.Displaying exception messages, if one occurs when a button
is pressed.
SSComboBox:
1.Added support for mapping values in setDisplay function.
2.Combo Listener was not handling mapping values so added that.
3.Added a constant to indicate that there is no selection in combobox.
This value will be returned when the selected index in combo box
is -1.
4.Changed the codes for MALE & FEMALE constants, also changed
the order in which they are added to the combo.
SSDBComboBox:
1.Updating the numberOfItems variable in deleteItem & addItem
functions.
SSTextField:
1.The default mask is set to nothing. Previously it was MMDDYYYY.
==============================================================================
SwingSet 0.8.1-beta - Released 08-13-2004
==============================================================================
Changes:
SSComboBox:
1. When the selected index in the combo box is -1 the value for that
will be set to null in the database.
SSDBComboBox:
1. When the selected index in the combo box is -1 the value for that
will be set to null in the database.
SSDataNavigator:
1. When a record is deleted or added to the current rowset with the
help of delete or add buttons on the navigator the row count
displayed will change.
2. Default size of the buttons has been reduced a bit and that of
text field and label which display current row number and row count
has been increased.
==============================================================================
SwingSet 0.8.0-beta - Released 08-11-2004
==============================================================================
Changes:
Classes or Interfaces added in SwingSet-0.8.0:
1. SSTableKeyAdapter.
SSCellEditingAdapter:
1. Implements Serializable.
SSComboBox:
1. Made all the variables protected.
2. Added getColumnName function. This function returns the column name
to which the combo box is bound to.
3. Added getRowSet function. This function returns the rowset being
used for binding.
4. Added setColumnName function. This function sets the column name to
which the combo box has to be bound.
5. Added setRowSet function. This function sets the rowset to be used
for binding to the specified column.
6. Added setSelectedValue function. This function sets the value of
the combo box to the specified value. (Item displayed will be the
one corresponding to the given value, the bound column value will
also change).
7. Added addComponent and removeListener functions. These are private
functions.
8. The inner classes for listeners also implement Serializable
interface.
SSDataGrid:
1. Added functions getSelectedColumns and getSelectedColumnCount.
Overriding the methods in JTable. This is needed to avoid the
hidden columns being selected. This is needed for copy and paste
support.
2. Added copy and paste support for the SSDataGrid, this is achieved
with the help of SSTableKeyAdapter.
3. The default item selected in a combo box renderer when a default
value is not specified for the column will be -1. In the previous
release it was the first item.
SSDataNavigator:
1. Added getXXX functions for rowset, button size, modification,
deletion, insertion, confirm deletes.
2. Added rowCount and currentRow variables to keep track of current
row number and total number of rows in the current rowset.
3. Added a text field and a label to the navigator to display the
total number of rows and current record number.
SSDBCheckBox:
1. Added a new constructor which takes a rowset and column name as
arguments.
2. Added bind function which takes a rowset and column name as
arguments.
3. Added getColumnName function. This function returns the column name
to which the check box is bound to.
4. setTextField, getTextField functions are deprecated, also the
constructor that takes a TextField as an argument is also
deprecated
5. Added key listener to transfer focus when enter key is pressed.
SSDBComboBox:
1. setTextField function is deprecated.
2. Added setSelectedValue function. This function sets the selected
item to the one corresponding to the specified value.
3. Added key listener to transfer focus when enter key is pressed.
4. Removing items from combo before adding new items.
SSDBNavAdapter:
1. Implements Serializable.
SSDBNavImp:
1. Default item selected in the combo box will be -1 rather than 0.
This way the column value can be null if a value is not selected.
SSTableKeyAdapter:
1. This class added a key listener to the JTable and provides copy and
paste support for the given JTable.
SSTableModel:
1. Made all the variables protected.
SSTextDocument:
1. Added setColumnName, setColumnIndex, and setRowSet functions.
2. Added getColumnName, getColumnIndex, and getRowSet functions.
3. Added bind function so find the text field to a column in the
rowset.
4. Added tranfer focus in the key listener. Focus will be tranferred
to next component when enter key is pressed.
==============================================================================
SwingSet 0.7.0-beta - Released 02-23-2004
==============================================================================
Changes:
SSDataNavigator:
1. Reduced the default size of the buttons to 50 * 20.
2. First & Last buttons will be disabled when the rowset is at first
& last row respectively.
3. Commit button will be enabled all the time. When rowset is on
insert row, pressing of commit button will insert the row. When not
on insert row it will update the present row.
4. Button graphics have been added.
5. Added the function setCallExecute(). This function can be used to
indicate to the Navigator that a MySQL database is being used. If
this is set to false, the Navigator will not call the execute()
method on the specified rowset. See question #6 in the FAQ for
further explanation.
SSTextDocument:
1. In the rowset listener, replaced the function calls remove,
removeUpdate, insertString & insertUpdate with single function call
replace. This seems to fix the problems of NullPointerException
caused occasionally when the SSTextDocument is set to a JTextArea
(NPE was occurring only when text had new line characters).
SSComboBox:
1. GENDER_OPTION has been added as one of the options. When this is
used as setOption argument the combo box will display "Male" &
"Female" as items in the combo box.
==============================================================================
SwingSet 0.6.0-beta - Released 12-18-2003
==============================================================================
For the 0.6.0 release of SwingSet, a grid control, SSDataGrid, has been added,
which can display database information in a "datasheet" or "spreadsheet" style
view. SSDataGrid provides functions to set column headers, hide columns, and
make columns uneditable. In addition, individual columns in the SSDataGrid
can be displayed as either text fields or combo boxes. For text columns,
editing masks can be specified. SSDataGrid uses the SSTableModel, which
extends AbstractTableModel. The SSCellEditing and SSDataValue interfaces
provide fine control over the working of the grid.
Also added in the 0.6.0 release of SwingSet is the SSTextField, which extends
the JTextField. The SSTextField provides editing masks for data entry
(e.g. dates, social security numbers, specified number of decimals, etc.).
Classes or Interfaces added in SwingSet-0.6.0:
1.SSCellEditing
2.SSCellEditingAdapter
3.SSDataGrid
4.SSDataValue
5.SSTableModel
6.SSTextField
New functions added to existing Classes or Interfaces in SwingSet 0.6.0
SSComboBox:
1. getSelectedIndex()
- Returns the index of the selected item in the combo box.
2. getSelectedValue()
- Returns the value associated with the selected item.
SSDataNavigator:
1. setConfirmDeletes()
- If set to true, every time delete button is pressed
navigator pops up a confirmation dialog to the user.
2. updatePresentRow()
- Updates the present row.
SSDBCheckBox:
1. execute()
- Initializes the check box by getting the value from the
textfield.
SSDBComboBox:
1. addItem(String _name, long _value)
- Adds an item to the existing list of items in the combo box.
2. deleteItem(String _name)
- Deletes the item which has name equal to _name.
3. deleteItem(long _value)
- Deletes the item which has value equal to _value.
4. deleteItem(String _name, long _value)
- Deletes the item which has display name equal to _name and
corresponding value as _value.
5. updateItem(long _value, String _name)
- Updates the string that is being displayed.
SSDBNav:
1. performCancelOps()
- This function is called when the user is on the insert row
and cancels the insert by clicking on the undo button.
2. performNavigationOps(int navigationType)
- This function is called whenever navigation takes place.
3. performRefreshOps()
- This function is called when the user wants to refresh the
information displayed.
==============================================================================
SwingSet 0.5.0-alpha - Released 09-26-2003
==============================================================================
(initial SourceForge release)