JComponentPack 1.2.0 New Features
June 25, 2008
1. JDataGrid Spreadsheet New Features:
JDataGridBean.setData(Object); // set a WorkBook or TableModel for this bean
JDataGridBean.getData(); // get the WorkBook or TableModel of this bean
JDataGridBean.setDataLocation(Object); // set the current file or URL of this bean
JDataGridBean.getDataLocation();// get the current file or URL of this bean
f) Other features include the bug for supporting OpenOffice formula get fixed, AbstractDataGridModel adds new
API to set the cell class: AbstractDataGridModel.setCellClass(Class, Cell);
2. JPrintPreview component adds new API to get the current Frame after show the frame:
JPrintPreview.getFrame();
Learn how to use JPrintPreview component, you and read the article “Use JPrintPreview and PrintFactory in JComponentPack”.
3. JWizardPane component adds new helper class to make creating wizard simpler.
If your wizard panel implements WizardPage interface, it can receive the different WizardAction, see the article “Use JWizardPane in JComponentPack” to learn how to use the JWizardPane component in JComponentPack 1.2.0.
4. JListView component make the drag and drop simpler, the JListView component support the “dragEnabled” property and “transferHandler” property, you can make the drag and drop work like other standard Java swing component, such as JList, JTree.
You can read this article “Introduce the JListView component in JComponentPack 1.1.0” to learn how to use the JListView component.
5. The JComponentPack 1.2.0 Release Notes give a change list in details.
View JComponent Pack 1.2.0 Release Notes online.