OpenSwing / News: Recent posts

2.4.7 version released

In this release:
Fixed problem in GridControl when using orderWithLoadData=true
Fixed problem in GridControl when using GridController.getFont in insert/edit mode.

The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

Posted by mcarniel 2013-07-06

2.4.6 version released

In this release:
Fixed problem when using internal sorting in grids (orderWithLoadData=false). Now it works also with the filter panel.
Fixed problem with grid profiles: now sorting conditions are correctly stored also after the first saving.
Fixed problem with number fields/columns having decimals set: now they are correctly selected when ClientSettings.SELECT_DATA_IN_EDITABLE_GRID = true.
Fixed problem when scrolling rows in grid and the selected row is the one on the bottom of the grid.
Fixed problem with GridControl when setting a value in a combobox cell, without losing focus and changing column size using the mouse.
Added setColumnsPosition method to LookupController, in order to define the position of the columns in the lookup grid.
Added BUTTON_HEIGHT to ClientSettings, in order to customize the height of a GenericButton and its subclasses.
Added GRID_COL_HEADER_BORDER to ClientSettings, in order to customize the border to use for column headers of a grid.
Added new constructor to LoginDialog, in order to add an optional panel on the top of the dialog.
Added getStatusPanel method to GridControl, in order to add custom labels to the bottom status panel of a grid.... read more

Posted by mcarniel 2013-04-25

2.4.5 version released

In this release:
Fixed problem on scrolling with UP/DOWN keys in a scrollable grid.

The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

Posted by mcarniel 2011-12-03

2.4.4 version released

In this release:
Fixed problem with SQLUtils.

The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

Posted by mcarniel 2011-10-24

2.4.3 version released

In this release:
Fixed problem on LookupController, when setting horizontal text alignment for header of a combo column.
Fixed problem when saving a Form panel having a XXXSpinnerControler with focus in it.
Fixed problem with PivotTable when applying multiple InputFilters to the same column.
Fixed problem with grid profile, related to multiple filtering conditions to save.
Changed a bit GenericButton event handling, so that now the click event is fired within the AWT event queue, instead of a simple Thread.
Improved QueryUtil.getQuery in order to support stored functions call in select statement
Improved translations reported in CzechOnlyResourceFactory class.
Moved calling to ApplicationEventQueue at the MDIFrame creation.... read more

Posted by mcarniel 2011-09-24

2.4.2 version released

In this release:
Added PRESET_LAST_VALUE_IN_COMBO_XXX global property to ClientSettings, in order to preset the last selected item in combo column/control
Changed Form panel: now beforeInsertRecord and beforeEditRecord are invoked one instead of twice, when pressing insert/edit button.
Improved lookup usage in grid when using an ORM: now an object selected using a lookup is cloned when assigning it as an inner object of the object's row of the grid.
Forced focus in lookup cell in grid, when LookupController.onInvalidCode property is to set ON_INVALID_CODE_RESTORE_FOCUS.
Improved TextControl: when text is longer than "columns" characters, the beginning part of text is displayed. Moreover, a non String value is accepted by setValue method.
Fixed lookup bug when the whole value object is mapped to a grid's attribute.... read more

Posted by mcarniel 2011-05-21

2.4.1 version released

In this release:
Added setHeaderTextAlignment method to LookupController, in order to set the horizontal alignment of column header.
Added another constructor to LabelControl, in order to directly specify the label's text.

The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

Posted by mcarniel 2011-04-09

2.4 version released

In this release:
Added "border" property to ButtonColumn, in order to customize button border.
Fixed a bug in GridControl with CheckBoxColumn when this column is locked to the left of the grid.

The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

Posted by mcarniel 2011-03-26

2.3.9 version released

In this release:
Improved buttons panel on the bottom area of the MDIFrame: now windows numeration reuse free numbers.
Improved FormController: added beforeSaveDataInEdit and beforeSaveDataInInsert callback methods, in order to interrupt saving operation.
Improved GridController: added beforeSaveDataInEdit and beforeSaveDataInInsert callback methods, in order to interrupt saving operation.

The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

Posted by mcarniel 2011-02-26

2.3.8 version released

In this release:
Added "setColumnDynamicSettings" method to LookupController class, in order to format numeric values.
Improved QueryUtil class, by providing:
- other "insertTable" methods, where it is possible to specify fields to insert without extracting values from the value object.
- another "updateTable" method, where it is possible to specify fields to update and not compare.
Improved GridControl component, by adding some utility methods:
- "collapseAllRows", to collapse all expanded rows, in case of grid having nested components.
- "addRowSelectionInterval" to select additional rows
- "removeRowSelectionInterval" to deselect rows
- "clearSelection" to remove all rows selection
Changed attribute name selector in UI designer, in order to include Character type attribute too.
Fixed translation in PolishOnlyResourceFactory class.
Fixed problem in TextFormattedControl when using MaskFormatter.setValueContainsLiteralCharacters(false);
Fixed problem with expandable grids, when using a combobox column as expandable column.... read more

Posted by mcarniel 2011-02-13

2.3.7 version released

In this release:
Improved grid: now it is possible to define a default filtering condition at column level, through "Column.setDefaultFilterValues" method,
to apply when the grid is showed.
Improved expandable grids: now it is possible to resize/repositioning columns also with expandable grids.
Improved filter panel:
- added translations to filter operators and sorting orders
- added "NOT IN" filter condition
Added GENERIC_BUTTON_FOCUSABLE global property to ClientSettings class, in order to define if GenericButton instances are focusable.
Added Russian translations.
Fixed problem with expandable grids, when moving from a block of data to another one.
Fixed problem with expandable grids, when using combobox columns.
Fixed filter button issue.... read more

Posted by mcarniel 2011-01-23

2.3.6 version released

In this release:
Fixed exception on changing language in LoginDialog
Fixed bean info descriptors of TreePanel and ImageControl components.

The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

Posted by mcarniel 2011-01-15

2.3.5 version released

In this release:
Added stop progress bar button.
Added "alwaysAvailableRequests" optional property to web.xml and used by Controller class,
in order to specify a list of request names that can be accessible event without login.
Fixed some bean info properties, not correctly defined in BeanInfo.jar

The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

Posted by mcarniel 2010-12-31

2.3.4 version released

In this release:
Fixed problem with attribute editor property to use in UI designer and problem when analyzing inner objects in complex components.
Changed center dialog policy: now OpenSwing components will show a warning/error dialog centered related to a JDialog first and to a JFrame secondly.
Fixed polish translation.

The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

Posted by mcarniel 2010-12-04

2.3.3 version released

In this release:
- Improved findNextValue method in GridControl: now it is possible to specify the matching criteria to use when searching for patterns.
- Fixed some translations for Polish language.
- Fixed problems on rendering top/bottom rows.
- Fixed problem when pressing TAB key on lookup control and auto completion window is visible.

The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

Posted by mcarniel 2010-11-21

2.3.2 version released

In this release:
- added new input control: FileControl, in order to upload/download files in Form panel
- centered warning messages in grid, form and lookups in relation with its container and not the MDI frame
- added findNextValue method to GridControl, in order to programmatically search for a specified value in a specified column with case insensitive criteria
- improved Form panel: now focus is automatically setted on the first invalid input control, when saving/pushing data... read more

Posted by mcarniel 2010-11-06

2.3.1 version released

In this release:
- fixed bug on rendering TextFormattedColumns
- fixed problem on using autoResize property in ImageControl
- fixed problem on saving grid profile (on file and db) when using the IN operator with multiple values

The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions

Posted by mcarniel 2010-10-23

2.3 version released

In this release:
- set translations with caps lock message in LoginDialog

The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instruction

Posted by mcarniel 2010-10-14

2.2.9 version released

In this release:
- added a warning message to LoginDialog, when caps lock is pressed
- change a bit the XXXResponse classes, by adding setError/setErrorMessage methods
- fixed problem on rendering rowz in a grid having locked columns when using vertical scrollbar

The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions

Posted by mcarniel 2010-10-09

2.2.8 version released

In this release:
- added SpinnerListControl and SpinnerNumberControl components
- added SpinnerListColumn and SpinnerNumberColumn components for grid
- changed GridPermissionManager interface declaration

The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

Posted by mcarniel 2010-09-24

2.2.7 version released

Final release 2.2.7 available
- added another constructor to LoginDialog, in order to manually set the window size; useful when using OpenSwing with no "system" Look and feels
- added "cleanUp" method to GridControl and Form panel, in order to clean up the row/form content in INSERT/EDIT modes

The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

Posted by mcarniel 2010-09-13

2.2.6 version released

Final release 2.2.6 available
- fixed a problem with QueryUtil.updateTable, when updating table having also a BLOB type field
- fixed a problem with GridController.selectedCell when changing row
- fixed problem with FormattedTextColumn
- changed NorwegianOnlyResourceFactory class with an updated version
- added "strictUsage" property to date control/columns, in order to force validation of inputed text and clean up/restore previous correct date, when the text is incorrect
- added DATE_COMPONENT_STRICT_USAGE global property to ClientSettings, in order to define the default value of "strictUsage" property to date control/columns
- changed "getConnection" method in DataSourceConnection class, by surrounding code with try-catch within the method, in order to support Tomcat7/GlassFish 3 A.S.... read more

Posted by mcarniel 2010-08-27

2.2.5 version released

In this distribution:
- fixed a problem with QueryUtil.getQuery, when reading a BLOB type field
- added demo50, in order to test BLOB field reading/writing to Oracle db
- improvements in "windows icon panel" of MDI frame (thanks to Marandola)

The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

Posted by mcarniel 2010-08-22

2.2.4 version released

In this distribution:
- lookup:
- fixed problem with maxCharacters and columns properties of lookup control
- added "showErrorMessage" property to LookupController, in order to hide the error message when validating an incorrect code
- other input controls:
- improved behavior of FormattedTextControl when losting focus and the field is empty or set to the empty default mask
- grid:
- GridController.selectedCell callback is invoked now also when selecting another column of the same row
- fixed bug introduced with past version of OpenSwing with lookup grid frames
- MDI frame:
- fixed problem with "win icons panel" at the bottom of the MDI environment when adding more windows and removing all of them
- fixed a problem with maximized internal frames when closing them and ClientSettings.STORE_INTERNAL_FRAME_PROFILE is set to true
- fixed problem when double clicking within an empty are of the tree menu
- improved "uniqueInstance" property of internal frames: when trying to open an already not selected unique instance of a frame, now it receive the focus
- improved SwithDialog (thanks to Marandola) by showing the current selected frame in the list of opened frames
- added global properties to ClientSettings (thanks to Marandola), in order to customize the "Window" menu items and "File" menu items and "win icons panels" buttons (icons and visibility)
- added new menu item named "close window" to "Window" menu (thanks to Marandola), in order to close current selected window
- TreeGridPanel:
- added "iconAttributeName" optional attribute, in order to customize the icon to show for each tree node
- added "backgroundColor" optional attribute, in order to set the background color for this component... read more

Posted by mcarniel 2010-08-12

2.2.3 version released

In this distribution:
- fixed orientation issue with GenericButton when using horizontal text alignment
- changed default behavior of FilterButton when autoLoadData in grid is set to false: now FilterButton remains enabled
- fixed problem with FilterButton when user profile is enabled and no rows are showed in grid
- added new global property FIRST_CELL_RECEIVE_FOCUS to ClientSettings: if set to false, a GridControl will set focus on the last cell (instead of the first cell) when grid mode is switched to INSERT or EDIT mode
- fixed problem with HibernateUtils when loading last block of data and block size is greater than the total number of rows
- added new global property STORE_INTERNAL_FRAME_PROFILE to ClientSettings: it allows to automatically set internal frame size and location previously setted by user
- improved Form panel: now Character type is supported in the value object binded to Form panel... read more

Posted by mcarniel 2010-07-18