Tips£ºEvaluation version downloaded do not include the Javadoc API Documents and Programmer Guide. Bug Fixed shown in red New Features shown in green Version 2.4.0New! - March 5,2008 * Adds new demo CheckBoxDemo. New Features * The selection for the frozen columns and the data grid area is not corrected. Bug Fixed
Thanks "Jackson, Kevin" reports this bug. * Used the checkbox in JDataGrid, should not select the next row when check it use mouse. Bug Fixed * The words prior to & are not displayed when import the Excel xml file into JDataGrid. Bug Fixed
Thanks "Malcolm Davis" reports this bug.
* The date is being displayed as yyyy-mm-ddT00:00:00 rather than mm/dd/yyyy. Bug Fixed
Thanks "Malcolm Davis" reports this bug.
* AutoScrolling doesn't work well when the datagrid contains a frozen cell. Bug Fixed
Thanks "Jerome Girardini" reports this bug.
* Adds the new EnumCellRenderer, it can render the enum type in Java 5.0,
this cell renderer can be use in JList, JTable, JTree, JComboBox. New Features
* DateCellRender adds the new type XMLGregorianCalendar in Java 5.0. New Features
* Adds the new Layout manager AnchorLayout in the com.zfqjava.swing package. New Features
* Adds the AnchorLayout demo in LayoutDemo. New Features Update History
Version 2.3.0 - January 20,2008 * Adds the new demo CheckBoxDemo. New Features
* Removes the row to avoid the memory hole in LargeDataGridModel. Bug Fixed
* Improves the cell attributes dialog. New Features
* When set null attribute in CellStyle, the attribute will be removed. New Features
* AttributeLabel add new API: New Features
AttributeLabel.setStroke
AttributeLabel.getStroke Version 2.2.6 - October 16,2007 * Adds new class to read the grid file: New Features
com.zfqjava.swing.ReadTableModelTask
com.zfqjava.swing.JTableReadTableModelTask
* The following issue has been fixed: Bug Fixed
If a cell that is not a link is clicked, then the row gets selected.
However the problem is that if the cell contains a link, the link works
but the row selection does not change.
Thanks "Jackson, Kevin" reports this bug.
* This is in relation to the bug I reported that got fixed in version 2.2.2. Bug Fixed
The problem is still when I try to copy a cell, I get the wrong value in the
clipboard. This time it is when I am sorting a column. When a column is sorted
and I selected a value and try to copy it, The value that gets put into the
clipboard is incorrect. It looks like it is getting the value that would be in
the cell if the column was not sorted.
Thanks "Kevin Kalmbach" reports this bug. Version 2.2.5 - October 8,2007 * The following issue has been fixed in this version. Bug Fixed
a) It appears that when XML file is loaded, the formulas are not processed
(BLANK CELLS)
b) It appears that, eventhough the XML file has the data flagged as
"Number", the JDataGrid thinks these are strings and will not read the
values for formulas.
Thanks "Ken Moyer" reports this bug.
* When add a new column header view, should add it into JScrollPane. Bug Fixed
Thanks "Savio Amodio" reports this bug. Version 2.2.4 - October 1,2007 * In a quick look through the code, the fix for my problem was put into
an if block that will only get executed if both freeze column and freeze
row are greater than 0. I am only freezing the column, so freezeRow is
still 0, so I never fall into the place where the code fix is. Bug Fixed
Thanks "Kevin Kalmbach" reports this bug. Version 2.2.3 - September 24,2007 * JDataGridBean adds new API: New Features
JDataGridBean.getScrollPane();
JDataGridBean.setScrollPane(JScrollPane);
Thanks "Savio Amodio" for his suggestions.
* JDataGridBean adds new API: New Features
JDataGridBean.setAutoAdjustRowColumCount(boolean);
JDataGridBean.isAutoAdjustRowColumCount();
* JDataGrid adds new client property: New Features
"JDataGrid.generateHyperlinkEventForURLValue"
* JDataGrid adds new API to configure the width and height of the
column header and row header. New Features
JDataGrid.getColumnHeaderHeight();
JDataGrid.setColumnHeaderHeight(int);
JDataGrid.getRowHeaderWidth();
JDataGrid.setRowHeaderWidth(int);
* Now when the table is scrolled over to the right and I start to edit the frozen
column (column 0, the leftmost one), the scroll jumps back all the way to the left. Bug Fixed
Thanks "Kevin Kalmbach" reports this bug. Version 2.2.2 - September 17,2007 * The method isCellEditable of the DefaultDataGridModel is not more used by the JDataGrid
component to determine when a cell is editable or not. Bug Fixed Thanks "Jerome Girardini" reports this bug.
* I have a table that I have moved columns around (using DataGrid.moveColumn().
After I do this, if I select a cell, then hit Copy (ctrl-C), the contents that
end up in the clipboard are not correct (it seems that it does not convert the
view column number to the model's column number before getting the contents). Bug Fixed
Thanks "Kevin Kalmbach" reports this problem.
Version 2.2.1 - September 10,2007 * XBasicLookAndFeel should cache the resource file and icons ? Bug Fixed
Thanks "Scott Reed" reports this bug. Version 2.2.0 - September 3,2007 * The bug is concerning the fact that when the commit of a cell fails then
if the user click elsewhere in the datagrid, the current cell editor is
displayed in the cell where the user last clicked. The good behavior should
be to display the editor in the cell where the edition has been initially started,
because as the commit has failed the edition of this cell is not terminated. Bug Fixed
Thanks "Jerome Girardini" reports this bug. * When the commit of a cell fails (e.g a parse error in a BigIntegerEditor),
after that it is impossible to ever commit the cell again. Bug Fixed
Thanks "Jerome Girardini" reports this bug. Version 2.1.9 - August 27,2007 * The method isCellEditable in JDataGrid cannot convert the row and column index correctly. Bug Fixed
Thanks "Kevin Kalmbach" reports this problem.
* The German resources of JDataGridBean has been translated again. Bug Fixed
Thanks "Eugen Helbling" for his help!
* IconPanel use the ImageIO new API to read the thumbnail. Version 2.1.8 - August 20,2007 * Export the JDataGrid to csv, html, txt file, should use the system property "line.separator". Bug Fixed
* JDataGrid add a new client property "CellEditor.dispatchEventOnStopEditingDisabled", when
press "Enter" key on the editing cell, enable this property will prevent the cell jump
to next row. New Features
Thanks "Kevin Kalmbach" request this new feature. Version 2.1.7 - August 13,2007 * The cell with combobox sometimes cannot show the correct value list. Bug Fixed Version 2.1.6 - August 6,2007 * The column style cannot be deleted when the specified column was deleted. Bug Fixed
* ObjectCellEditor adds new features to support the combobox, add the following API: New Features
ObjectCellEditor.setComponentType(int);
ObjectCellEditor.getComponentType();
CellStyle.setValueList(AttributeSet, List);
CellStyle.getValueList(AttributeSet);
* Adds new demo: ComboBoxCellDemo. New Features Version 2.1.5 - July 30,2007 * LockDemo change the column selection mode, click the column will select
the cell correctly. New Features Thanks "Cris Malinconico" reports this bug. * JDataGridApplet and JDataGridBeanApplet add the parameter named "licenseUrl",
the two applet can load the license data from the specified path automatically. New Features
Thanks "Jim Leinbaugh" reports this bug. * Adjust the position of single underline and double underline.
Thanks "Jackson, Kevin" reports this bug. * When a cell contains <html> so that we can have multiple links in the
cell and the width of the cell is less then the text width, then the
repaint is garbled and some or all of the pixels are shifted up by about
half a row. Bug Fixed
Thanks "Jackson, Kevin" reports this bug. * Adds the following methods to set the row and column attributes and editable property: New Features AbstractDataGridModel.setRowAttributes(AttributeSet attributes, int row); AbstractDataGridModel.getRowAttributes(int row); AbstractDataGridModel.setRowEditable(boolean editable, int row); AbstractDataGridModel.isRowEditable(int row); AbstractDataGridModel.getRowEditable(int row); AbstractDataGridModel.getColumnAttributes(int column); AbstractDataGridModel.setColumnEditable(boolean editable, int column); AbstractDataGridModel.isColumnEditable(int column); AbstractDataGridModel.getColumnEditable(int column);
* Adds the following methods to set the row header and column header attributes: New Features
AbstractDataGridModel.setRowHeaderAttributes(AttributeSet attributes, int row);
AbstractDataGridModel.getRowHeaderAttributes(int row);
AbstractDataGridModel.getColumnHeaderAttributes(int column);
AbstractDataGridModel.setColumnHeaderEditable(boolean editable, int column); * Adds new demo RowColumnStyleDemo, demonstrate how to set the row and column attributes,
editable property, row header and column header style. Version 2.1.4 - July 23,2007 * The content of the editing cell is displayed into the location of the last selected cell
when the two following conditions are happenning in the same time :
- the editing cell is not on the visible part of the datagrid (e.g the datagrid has been scrolled vertically).
- the user select another cell while the edition fails to commit (e.g parse error). Bug Fixed
Thanks "Jerome Girardini" reports this bug. * The three static methods in DefaultDataGridModel should not be public, change to private in this version. Version 2.1.3 - July 16,2007 * With 2.1.2 I can determine what direction a column is sorted with
"public Boolean getSortOrderObject(int column)".
But there is no easy way to determine which columns are currently being
sorted and in what order, could you please add a method something like:
getSortColumnList(). New Features Version 2.1.2 - July 9,2007 * The JavaDoc has incorrect charset. Fixed. Bug Fixed Version 2.1.1 - July 2,2007 * Adds com.zfqjava.swing.cell.converter.NumberConverter. New Features Version 2.1.0 - June 25,2007 * The only issue I'm having is the column headers. JDataGrid is not
displaying the report column headers when improt the html page. Bug Fixed
Thanks "Malcolm Davis" reports this bug.
* Mis-entered formulas cause exception Bug Fixed
Thanks "Brad Hawthorne" reports this bug. * (I also reported this on 1.x versions) If I have a formula in an excel
file and this formula doesn't provide a valid value (for example if
I try to add 2 strings => #VALUE!) the component doesn't import the
formula. I mean, it should provide an error as an output (#VALUE! for example)
but would be nice if the formula was imported nevertheless. Bug Fixed
The following API has been added to support this feature. New Features
FormulaFactory.createFormula(String s, FormulaContext context, boolean allowErrorFormula);
FormulaParser.parse(String s, boolean allowErrorFormula);
The several class that read the Excel file has been changed to use the new API.
Thanks "Lucian CIOROGA" reports this bug. * Enter the number "1234" in a cell, Add a space to the end of the number,
followed by any other characters eg: " 567" and press enter
Note that the cell will discard your changes and revert back to its original value "1234" Bug Fixed
Thanks "Brad Hawthorne" reports this bug. * Continuously editing text in a cell cannot work correctly. Bug Fixed
Thanks "Brad Hawthorne" reports this bug. Version 2.0.9 - June 18,2007 * Use the default row height 16 and column width 75 when the size in Excel xml file is not available. * Automatically detect the row and column count in Excel xml file.
Thanks "Malcolm Davis" reports this bug.
* Use localName instead qName to parse Excel xml file. * On a JDatagrid with a frozen row or column, autoScroll doesn't scroll enough to show a selected cell
¡¡that is located below the fixed part of the datagrid. Fixed.
Thanks "jerome girardini" reports this bug. Version 2.0.8 - June 11,2007 * The row selection select the same row twice, the row background color
become darker getSelectedList return the row twice. Bug Fixed.
Thanks "Kevin Kalmbach" report this bug.
* CellManager add the six different API, can add or remove the customize cell renderer and editor.
CellManager.addUserCellEditor(String className, String editorClassName);
CellManager.removeUserCellEditor(String className);
CellManager.clearUserCellEditor();
CellManager.addUserCellRenderer(String className, String rendererClassName);
CellManager.removeUserCellRenderer(String className);
CellManager.clearUserCellRenderer();
Thanks "Kevin Kalmbach" request this feature.
* Delete the "debug" display in the DefaultColumnSorterModel
Thanks "vhonore" reports this problem.
* The JDataGrid selection border (setSelectionBorder(true)) is not drawn correctly when the cell is in edition.
Thanks "jerome girardini" reports this bug.
* The JDataGrid component shows a tooltip as soon as the text is partially hidden.
The issue is that the JDataGrid component does not take into account that with
the usage of merged cells a text can be displayed over more that one cell.
This is not a heavy bug but its annoying as soon you make an extensively usage
of spanned cells, in this case the tooltip is constantly displayed for no reason.
Thanks "jerome girardini" reports this bug. Version 2.0.7 - June 4,2007 * The function in formula cannot accept more than two arguments. Fixed. Version 2.0.6 - May 28,2007 * The JavaDoc for AComboBox.setRenderer has some error. Fixed. * The editing cell should not display or move on some freeze part. Fixed. Version 2.0.5 - May 21,2007 * DefaultDataGridModel cannot parse the string generated by "Date.toString()" Version 2.0.4 - May 14,2007 * Improves the performance for print, print preview, page setup.
* Some license text in about dialog cannot display correctly. Fixed.
* Reduce the overhead of the XBasicLookAndFeel. Version 2.0.3 - May 7,2007 * When call DefaultDataGridModel.setCellAttributes(), throw NPE. Fixed.
Version 2.0.2 - April 30,2007
* New Features: KEEP_ASPECT_RADIO has been added in PrintFactory
when scale width on JDataGrid printing, keep the aspect radio. * BarChart cannot display negative value correctly. Fixed. * Edit number value in JDataGrid only display 3 fraction digits. Fixed. * XBasicLookAndFeel in applet cannot load resource correctly. Fixed. * Select function in function chooser dialog, cannot insert function. Fixed. * Insert hyperlink, it set the cell value to "test". Fixed. * Inert file as hyperlink, cannot open directly. Fixed. * New Features: Stop editing for text shape, comment automatically when focus lost.
New API for this features: AbstractCellEditor.getFocusLostBehavior();
AbstractCellEditor.setFocusLostBehavior(int); * The comment cannot insert. Fixed.
New API for this fix:
Chart.createRenderer();
Chart.getRenderer();
Chart.createEditor();
Chart.getEditor();
CellStyle.Comment.getHelper(); * Some horizontal grid lines cannot display when scale height on printing. Fixed.
Version 2.0.1- April 23,2007 * fixed the error problems when DefaultColumnSorter
and DefaultDataGridModel invoke the method of addrow Version 2.0 - April 16,2007
* New Features
Freeze Window£º
JDataGrid.setFreezeCell(int, int);
JDataGrid.setFreezeRow(int);
JDataGrid.getFreezeRow();
JDataGrid.setFreezeColumn(int);
JDataGrid.getFreezeColumn();
JDataGrid.getFreezeLineColor();
JDataGrid.setFreezeLineColor(Color);
WorkSheet.setFreezeCell(int, int);
WorkSheet.setFreezeRow(int);
WorkSheet.getFreezeRow();
WorkSheet.setFreezeColumn(int);
WorkSheet.getFreezeColumn();
JLineBar.getFreezeLine();
JLineBar.setFreezeLine(int);
Support a number of Working Table£º
JDataGridBean.createWorkBook();
JDataGridBean.createWorkSheet();
JDataGridBean.setWorkBook(WorkBook);
JDataGridBean.getWorkBook();
WorkSheet.getSheetProperties();
WorkSheet.setSheetProperties(Map);
WorkSheet.getWorkBook();
WorkSheet.setWorkBook(WorkBook);
Text alignment variety of cells, change the text orientation, double underlined and slash£º
CellStyle.setFormat(MutableAttributeSet, Format);
CellStyle.getFormat(AttributeSet);
CellStyle.getUnderlineStyle(AttributeSet);
CellStyle.setUnderlineStyle(MutableAttributeSet, UnderlineStyle);
CellStyle.setUpBorder(MutableAttributeSet, Border);
CellStyle.getUpBorder(AttributeSet);
CellStyle.setDownBorder(MutableAttributeSet, Border);
CellStyle.getDownBorder(AttributeSet);
CellStyle.setTextRotate(MutableAttributeSet, int);
CellStyle.getTextRotate(AttributeSet);
Other features£º
JDataGrid.createDataGridModel();
JDataGrid.getCellAttributes();
JDataGrid.getZoomFactor();
JDataGrid.setZoomFactor(double);
JDataGrid.doHyperlinkUpdate(HyperlinkEvent);
FormulaFactory.setDefaultStringEscapeChar(char);
FormulaFactory.getDefaultStringEscapeChar();
FormulaFactory.getAllFunctionNames();
CellFormulaFactory.getSupportedCellFunctionTypes();
CellFormulaFactory.getCellFunctionNamesByType(CellFunctionType);
WorkSheet.setName(String);
WorkSheet.setModel(TableModel);
WorkSheet.setPrintProperties(Map);
WorkSheet.getCellSelectionModel();
WorkSheet.setCellSelectionModel(CellSelectionModel);
WorkBook.getDocumentProperties();
WorkBook.setDocumentProperties(Map);
WorkBook.getSize();
WorkBook.getElementAt(int);
JCommonPane.getDefaultTinySize();
JCommonPane.getDefaultSmallSize();
JCommonPane.getDefaultNormalSize();
JCommonPane.getCommonPane(Component);
JCommonPane.getDialog(Component);
JCommonPane.showDialog(Component, Map);
JCommonPane.setHeader(String);
JCommonPane.setDescription(String);
JCommonPane.setLogoIcon(Icon);
JCommonPane.setLogoText(String);
JCommonPane.setBannerImage(Image);
JCommonPane.setSideImage(Image);
JCommonPane.setBackgroundImage(Image);
NumberCellRenderer.setDefaultFormat(NumberFormat);
NumberCellRenderer.getDefaultFormat();
LocaleCellRenderer.isDisplayNameUsed();
LocaleCellRenderer.setDisplayNameUsed(boolean);
ResourceManager.getImageIcon(String);
DefaultFileFilter.getExtensionName(File);
JDataGridBean.getAbstractChart();
JLineBar.getZoomFactor();
JLineBar.setZoomFactor(double);
Chart.addXXXListener(XXX);
* Adds new classes
com.zfqjava.swing.LargeDataGridModel
com.zfqjava.swing.LargeSizeModel
* Adds print support in PrintFactory
JDataGrid.getColumnHeaderView()
JDataGrid.getRowHeaderView();
* The following class make it to public
com.zfqjava.formula.CellFormulaFactory
com.zfqjava.formula.CellFunctionType
* Bug Fixed
DefaultDataGridModel share row data problem.
JDataTableBean cannot show line arrow icon.
JDataGridBean cannot select function.
Release 1.9.1
* Fix the selection bug for "Enter" and "Tab" keyboard action.
* Adds new client property for JDataGrid:
JDataGrid.clearSelectionOnDataChanged
* Fix the ToolTip bug of Hyperlink.
* The cell address in formula bar cannot display correctly. (Bug fixed)
* Adds PREFERRED_WORK_BOOK_API property in ModelIO. (New Features)
Release 1.9
* Adds new JDataGrid Demo:
SelectionModeDemo
* New class in com.zfqjava.swing package:
CellSelectionModel
AbstractCellSelectionModel
DefaultCellSelectionModel
* Make the following method in JDataGrid work correctly:
JDataGrid#setCellSelectionEnabled(boolean);
JDataGrid#setColumnSelectionAllowed(boolean);
JDataGrid#setRowSelectionAllowed(boolean);
JDataGrid#setSelectionMode(int);
JDataGrid#getSelectedRows();
JDataGrid#getSelectedColumns();
JDataGrid#getSelectedRowCount();
JDataGrid#getSelectedColumnCount();
* New class in com.zfqjava.swing.event package:
CellSelectionEvent
CellSelectionListener
* New class in com.zfqjava.swing package:
SizeModel
AbstractSizeModel
DefaultSizeModel
* New class in com.zfqjava.swing.event package:
SizeModelEvent
SizeModelListener
* New API in JDataGrid:
JDataGrid#setRowSizeModel(SizeModel);
JDataGrid#getRowSizeModel();
JDataGrid#createRowSizeModel();
JDataGrid#setColumnSizeModel(SizeModel);
JDataGrid#getColumnSizeModel();
JDataGrid#createColumnSizeModel();
* New API in WorkSheet:
WorkSheet#setRowSizeModel(SizeModel);
WorkSheet#getRowSizeModel();
WorkSheet#setColumnSizeModel(SizeModel);
WorkSheet#getColumnSizeModel();
Release 1.8
* New client property in JDataGrid
JDataGrid.fillCellValueOnly
JDataGrid.activateLinkOnModifierDown
* New class in com.zfqjava.swing.model package:
DataGridModelAdapter
* JDataGrid LockDemo has been improved.
* New API in JDataGrid
JDataGrid#setAlternatingRowBackground(Color);
JDataGrid#getAlternatingRowBackground();
JDataGrid#setAlternatingRowForeground(Color);
JDataGrid#getAlternatingRowForeground();
JDataGrid#setColumnHeaderView(Component);
JDataGrid#getColumnHeaderView();
JDataGrid#setRowHeaderView(Component);
JDataGrid#getRowHeaderView();
JDataGrid#setCellAttributes(AttributeSet);
JDataGrid#addHyperlinkListener(HyperlinkListener);
JDataGrid#removeHyperlinkListener(HyperlinkListener);
JDataGrid#getHyperlinkListeners();
JDataGrid#fireHyperlinkUpdate(HyperlinkEvent);
* New API in CellStyle:
CellStyle#setVerticalAlignment(MutableAttributeSet, int);
CellStyle#getVerticalAlignment(AttributeSet);
CellStyle#setHyperlink(MutableAttributeSet, Hyperlink);
CellStyle#getHyperlink(AttributeSet);
CellStyle#setComment(MutableAttributeSet, Comment);
CellStyle#getComment(AttributeSet);
* New class in CellStyle:
CellStyle#Hyperlink
CellStyle#Comment
* New API in AbstractDataGridModel and DefaultDataGridModel
AbstractDataGridModel#setAutoCalculateFormula(boolean);
AbstractDataGridModel#getAutoCalculateFormula();
AbstractDataGridModel#calculateFormula();
DefaultDataGridModel#setAutoCalculateFormula(boolean);
DefaultDataGridModel#getAutoCalculateFormula();
DefaultDataGridModel#calculateFormula();
* New API in DefaultDataGridModel
DefaultDataGridModel#sort(Cell, boolean[], int[], boolean, boolean);
DefaultDataGridModel#sort(Cell, boolean, int, boolean, boolean);
Release 1.7
* New API in CellStyle:
CellStyle#setTopBorder(MutableAttributeSet, CellStyle.Border);
CellStyle#getTopBorder(AttributeSet);
CellStyle#setLeftBorder(MutableAttributeSet, CellStyle.Border);
CellStyle#getLeftBorder(AttributeSet);
CellStyle#setBottomBorder(MutableAttributeSet, CellStyle.Border);
CellStyle#getBottomBorder(AttributeSet);
CellStyle#setRightBorder(MutableAttributeSet, CellStyle.Border);
CellStyle#getRightBorder(AttributeSet);
* New class in CellStyle:
CellStyle.Border
* New API in JLineBar:
JLineBar#setCellRenderer(AbstractCellRenderer);
JLineBar#getCellRenderer();
* New API in JDataGrid:
JDataGrid#setEditable(boolean);
JDataGrid#isEditable();
JDataGrid#setRowVisible(int, boolean);
JDataGrid#isRowVisible(int);
JDataGrid#setColumnVisible(int, boolean);
JDataGrid#isColumnVisible(int);
JDataGrid#setSelectionBorderColor(Color)
JDataGrid#getSelectionBorderColor();
JDataGrid#setSelectionBorderPainted(boolean);
JDataGrid#isSelectionBorderPainted();
JDataGrid#setFillHandleColor(Color);
JDataGrid#getFillHandleColor();
JDataGrid#setFillHandlePainted(boolean);
JDataGrid#isFillHandlePainted();
JDataGrid#setRowHeightIsAdjusting(boolean);
JDataGrid#getRowHeightIsAdjusting();
JDataGrid#setColumnWidthIsAdjusting(boolean);
JDataGrid#getColumnWidthIsAdjusting();
JDataGrid#createRowHeader();
JDataGrid#setCornerButton(AbstractButton);
JDataGrid#getCornerButton();
JDataGrid#createCornerButton();
* The formula can be serialized, the DefaultDataGridModel
has been supported the formula to be serialized.
* All Formula Function has been included in the evaluation
version for the developer to evaluate it.
* All Shape Node has been included in the evaluation
version for the developer to evaluate it.
* New API in JCommonPane:
JCommonPane#showFeedbackDialog(parent, map);
* New API in Chart:
Chart#toBufferedImage();
* New API in ActionManager:
ActionManager#setSelected(String, boolean);
ActionManager#isSelected(String);
* New class in swing package:
com.zfqjava.swing.EmptyIcon
com.zfqjava.swing.GroupIcon
com.zfqjava.swing.cell.CellStyle
* New API in DefaultFileFilter:
DefaultFileFilter#getPreferredExtensionName();
DefaultFileFilter#getExtensionNames();
* New API in AbstractCellEditor:
AbstractCellEditor#setClickCountToStart(int);
AbstractCellEditor#getClickCountToStart();
* The go to cell action cannot work correctly. (Bug Fixed)
* New API in JLineBar:
JLineBar#lineAtPoint(Point);
* Change enum to enumr for some fields.
* New Action in JDataGridBean:
JDataGridBean#doShowColumn();
JDataGridBean#doHideColumn();
JDataGridBean#doShowRow();
JDataGridBean#doHideRow();
* New API in AbstractDataGridModel:
AbstractDataGridModel#fillCellAttributes(Cell, List[]);
Release 1.6.1
* New client property in JDataGrid:
JDataGrid.clearCellOnStartsEdit
* New API in AbstractChart:
AbstractChart#setRenderingHints(Map);
AbstractChart#getRenderingHints();
AbstractChart#createRenderingHints();
* New API in Cell:
Cell#getColumnName(int);
* When import html file the value around cell span cannot import.(Bug Fixed)
* New CellEdit Class in com.zfqjava.swing.cell package.
* New API in FormulaFactory
FormulaFactory#setStringEscapeChar(char);
FormulaFactory#getStringEscapeChar();
* New API in AbstractDataGridModel
AbstractDataGridModel#setAutoSetsCellClass(boolean);
AbstractDataGridModel#getAutoSetsCellClass();
AbstractDataGridModel#setAutoSetsCellValue(boolean);
AbstractDataGridModel#getAutoSetsCellValue();
AbstractDataGridModel#setStringEscapeChar(char);
AbstractDataGridModel#getStringEscapeChar();
* New API in Chart:
Chart#getEditorComponent();
* New API in JDataGrid:
JDataGrid#getCellManager();
JDataGrid#getSelectionList();
JDataGrid#isFullRowSelected(int);
JDataGrid#isFullColumnSelected(int);
JDataGrid#selectRow(int, boolean);
JDataGrid#selectColumn(int, boolean);
JDataGrid#selectCell(int, int, boolean);
JDataGrid#selectCell(Cell, boolean);
JDataGrid#selectCell(int, int, int, int, boolean);
* New API in ObjectCellRenderer
ObjectCellRenderer#setDefaultHorizontalAlignment(int);
ObjectCellRenderer#getDefaultHorizontalAlignment();
ObjectCellRenderer#setDefaultVerticalAlignment(int);
ObjectCellRenderer#getDefaultVerticalAlignment();
* New API in ObjectCellEditor:
ObjectCellEditor#setDefaultHorizontalAlignment(int);
ObjectCellEditor#getDefaultHorizontalAlignment();
ObjectCellEditor#createTextField();
* New API in StringCellRenderer
StringCellRenderer#setMultiLine(boolean);
StringCellRenderer#isMultiLine();
* New API in StringCellEditor
StringCellEditor#setMultiLine(boolean);
StringCellEditor#isMultiLine();
StringCellEditor#setEscapeChar(char);
StringCellEditor#getEscapeChar();
* Change the default alignment to TRAILING for Number cell renderer and editor. (New Features)
Release 1.6.0
* New API in DefaultColumnSorter:
DefaultColumnSorter#sortColumn(int, Boolean);
DefaultColumnSorter#sortColumn(int, Boolean, boolean);
DefaultColumnSorter#getSortOrderObject(int);
* Remove the select color and focus color when printing. (New Feature)
* Adds the feature: size the column to fit the cell contents. (New Feature)
* Removes the multiple rows and columns when selecting full row. (New Features)
* Allows cut/copy/paste full rows with read only cells in them. (New Features)
* New API in DefaultDataGridModel:
DefaultDataGridModel#sort(Cell, boolean[], int[], boolean);
* New API in JPrintPreview:
JPrintPreview.print(Object);
JPrintPreview.showFrame(JFrame);
JPrintPreview.showInternalFrame(JInternalFrame);
* New API in JDataGrid:
JDataGrid#setEditingStopBehavior(int);
JDataGrid#getEditingStopBehavior();
JDataGrid#sizeColumnWidthToFit(int);
JDataGrid#getDataGridModel();
* New API in AbstractCellEditor:
AbstractCellEditor#setEditingStopBehavior(int);
AbstractCellEditor#getEditingStopBehavior();
AbstractCellEditor#getEditingValue();
* Export Excel xls file with formula cannot work correctly. (Bug Fixed)
* Adds setDefaultCloseOperation(JBean.EXIT_ON_CLOSE); in
JDataGridBean main method. (Bug Fixed)
* The PrintFactory pass null map throws NPE. (Bug Fixed)
Release 1.5.1
* Completed the following functions:
SINH, COSH, TANH, ROUND, ROUNDUP, ROUNDDOWN.
* Adds the client properties in JDataGrid JavaDoc.
* JDataGridBean change all selected cells when attributes changed.
* JDataGridBean clear all selected cells when clear action performed.
* Adds system property for swinging look and feel: application.defaultlaf
* Export formula to EXCEL lost "=". (Bug Fixed)
* New API in JBean:
JBean#setDefaultCloseOperation(int)
JBean#getDefaultCloseOperation()
JBean#doBeforeClose()
* New API in JDataGridBean:
JDataGridBean#getDataGrid()
JDataGridBean#getToolBar(String)
JDataGridBean#getMenuBar(String)
JDataGridBean#createModel()
JDataGridBean#setDataGrid(JDataGrid)
JDataGridBean#createDataGrid()
JDataGridBean#getPrintPreview()
JDataGridBean#createPrintable(JDataGrid)
* New API in AbstractDataGridModel
AbstractDataGridModel#setCellAttributes(AttributeSet, Cell)
* New API in JPrintPreview:
JPrintPreview#setColorType(int)
JPrintPreview#getColorType()
JPrintPreview#createBufferedImage(int, int, int)
* Cannot print cell area correctly in PrintFactory. (Bug Fixed)
* New print properties in PrintFactory
PrintFactory.HEADER_ICON
PrintFactory.FOOTER_ICON
PrintFactory.HEADER_TEXT_ALIGNMENT
PrintFactory.FOOTER_TEXT_ALIGNMENT
PrintFactory.HEADER_ICON_ALIGNMENT
PrintFactory.FOOTER_ICON_ALIGNMENT
Release 1.5.0
* Adds cut, copy, paste actions.
* Adds drag and drop support.
* New API:
DefaultDataGridModel#fill(Cell, TableModel);
DefaultDataGridModel#toModel(Cell);
* Adds sort support for multiple row and multiple column.
* Adds JInternalFrame support in JBean, Adds new API:
JBean#showInternalFrame(Component);
JBean#createInternalFrame();
JBean#getInternalFrame();
* JDataGridBean not select the first cell when popup menu show.
* Separate the FormulaBar from JDataGridBean.
* Chart change layer cannot repaint correctly. (Bug Fixed)
* Disable editing for BasicChart.
* Fix the key lock problem in JStatusBar.
* The singe Shape should not grouped. (Bug Fixed)
* Remove the active cell when JDataGrid clear selection. (Bug Fixed)
* Should not change the anchor index when selecting all in JDataGrid. (Bug Fixed)
* All empty string value will return null for all cell editors. (Bug Fixed)
* Catch UnsupportedOperationException in get LockingKeyState method in
JStatusBar component. (Bug Fixed)
Release 1.4
* Adds formula support.
* Adds shape support.(2D shape, 3D shape)
* Adds chart support. (Bar Chart, Pie Chart, Line Chart)
* JLineBar cannot handle the drag selection correctly. (Bug Fixed)
* The keyboard actions cannot be shared. (Bug Fixed)
* Cannot stop the cell editing when using mouse to select the cell. (Bug Fixed)
* Use the JBean framework to create the JDataGridBean. (New Features)
* Undo support in DefaultDataGridModel should not use
compound edit. (Bug Fixed)
* Resize undo edit, NPE. (Bug Fixed)
* The JDataGrid#selectAll cannot work correctly. (Bug Fixed)
* Add Java-Bean property in manifest file.
Release 1.3
* Improves the DateCellRenderer and DateCellEditor
to support the JDBC date type:
java.sql.Date
java.sql.Time
java.sql.Timestamp
* Adds 8 new cell renderer and editor:
com.zfqjava.swing.cell.BigIntegerCellRenderer
com.zfqjava.swing.cell.BigIntegerCellEditor
com.zfqjava.swing.cell.BigDecimalCellRenderer
com.zfqjava.swing.cell.BigDecimalCellEditor
com.zfqjava.swing.cell.URLCellRenderer
com.zfqjava.swing.cell.URLCellEditor
com.zfqjava.swing.cell.StreamCellRenderer
com.zfqjava.swing.cell.StreamCellEditor
* JDataGrid fix the row header cannot track the
row count bug. (Bug Fixed)
* JDataGridBean cannot update the popup menu UI when
switching the Look&Feel. (Bug Fixed)
* JLineBar add new API:
getFirstLineIndex();
setFirstLineIndex(int);
* Improves the ResultSetTableModel.
* Adds Java Web Start PrintService support for JPrintPreview, JDataGridBean. (New Features)
* Adds new API: JDataGridBean#showFrame, JDataGridBean#createFrame,
JDataGridBean#getFrame. (New Features)
* Adds LoginDialog, LocationDialog, LookAndFeelDialog, please see the
JCommomPane JavaDoc for detais. (New Features)
* Adds setOpaque(true); and setDoubleBuffered(true); for
all components.
Release 1.2
* Improves the selection performance.
* Adds xls file reader and writer(Excel Compatible). (New features)
* Adds new plain file reader and writer(Excel Compatible). (New features)
* Adds new csv file reader and writer(Excel Compatible). (New features)
* Adds WorkBook and WorkSheet support. (New features)
* Adds JDataGridBean. (New features)
* Adds ResultSetTableModel. (New features)
* Adds HEADER_MARGIN, SHOW_HEADER_LINE, SHOW_FOOTER_LINE,
TABLE_SHOW_ROW_HEADER, TABLE_SHOW_COLUMN_HEADER,
TABLE_SHOW_GRID_LINE, TABLE_PRINT_AREA print properties,
see PrintFactory API documentation for details. (New features)
* Adds page count label in JPrintPreview. (New features)
* Adds show frame support in JPrintPreview. (New features)
* PrintFactory cannot repeat print. (Bug Fixed)
* PrintFactory component print NPE. (Bug Fixed)
Release 1.1
* Find and Replace support.
* Print and Print Preview support.
* Spell Check.
* Adds format, background-image, content-type, underline, strikethrough attributes support.
* Adds sort support, please see DefaultDataGridModel API Documentation for details.
* Adds fill support, please see DefaultDataGridModel API Documentation for details.
* Adds clear support, please see DefaultDataGridModel API Documentation for details.
* Adds move support, please see DefaultDataGridModel API Documentation for details.
* Adds row and column to add and remove data, please see DefaultDataGridModel API Documentation for details.
* The sort, fill, clear, move operation also adds undo support.
* Fix the anchor cell paint problem when the focus change.
* Adjust the cell span when adding(removing) row(column) as needed.
* Undo support for resizing row height and column width.
* Move the undo support to JDataGrid.
Release 1.0
Initial release.