Fuqiang has posted 9 posts at DZone. View Full User Profile

JComponentPack v3.4 Released!

02.09.2012
| 1548 views |
  • submit to reddit

JComponentPack is a Java Swing GUI library, a visual JavaBeans collection, it's based on the Java Swing MVC architecture and 100% pure Java , it includes more than 20 components that Swing haven't. It includes Java Spreadsheet, Java Data Bound Components, Java Swing Widgets, Java Basic Chart Components, and Java Common Shape Components.

Our products are widely used in banking, securities, taxation, e-government system. Well-known customers at home and abroad include IBM, SONY, State Grid, China Post, etc..

There are most important components:
JDataGrid - 100% Pure Java Spreadsheet Component, Java Excel Control
JDataTable - 100% Pure Java Data Bound Grid Control
JSyntaxEditor - 100% Pure Java Syntax Highlighting Editor
JSlideShow - 100% Pure Java Slide Show Component, Java PowerPoint Control
Java Listview Component
Java Directory Chooser
Java Date Picker
Java Wizard Framework
Java Outlook Bar
Java Group Panel
Java Font Chooser
Java Image Viewer
Java Link Button
Java Status Bar
Java Print Preview component

Release Notes:

  1. JDataTable support insert multiple rows and then accept changes to databases.
    New methods in JDataTable:
    JDataTable.moveToInsertRow(boolean);
  2. Sets the row attributes in JDataTable directly, add new methods:
    JDataTable.setAttributesEnabled(boolean);
    JDataTable.setDeleteRowAttributes(AttributeSet);
    JDataTable.setInsertRowAttributes(AttributeSet);
    JDataTable.setUpdateCellAttributes(AttributeSet);
  3. New ColumnValue class in com.zfqjava.sql package to add values for specified SQL type,
    the SyncRow.addColumn methods get updated to support the ColumnValue class.
  4. JDataGrid allow reset row and column header:
    New methods in JDataGrid:
    JDataGrid.resetRowHeader();
    JDataGrid.resetColumnHeader();
  5. JDataForm add new method to fetch the control button, include ok and reset button:
    New method in JDataForm:
    JDataForm.getControlButton
  6. JBean add new method to set the status bar directly:
    JBean.setStatusBar
  7. JLineBar support two different view component, list and tree, use getViewComponent() method to get the actual component: JList or JTree:
    New methods in JLineBar:
    JLineBar.setViewComponentType(int);
    JLineBar.getViewComponentType();
    JLIneBar.getViewComponent();
  8. New constructors added in JStatusBar to add extra component:
    JStatusBar(int, Component[]);
  9. JLocationBar allow set the location text directly:
    JLocationBar.setLocationText(String);
    JLocationBar.getLocationText();
  10. AComboBox component add new method to get the popup button:
    AComboBox.getPopupButton();
  11. DataGridModelAdapter add many methods to set the editable property for row, column and cell:
    DataGridModelAdapter.getResolveCellEditable(int, int);
    DataGridModelAdapter.clearCellEditable(int, int);
    DataGridModelAdapter.setColumnEditable(boolean, int);
    DataGridModelAdapter.isColumnEditable(int);
    DataGridModelAdapter.getColumnEditable(int);
    DataGridModelAdapter.clearColumnEditable(int);
    DataGridModelAdapter.setRowEditable(boolean, int);
    DataGridModelAdapter.isRowEditable(int);
    DataGridModelAdapter.getRowEditable(int);
    DataGridModelAdapter.clearRowEditable(int);
  12. ResultSetTableModel add new methods to get connection, auto generated column names, etc.
    ResultSetTableModel.getConnection();
    ResultSetTableModel.setPageSize(int);
    ResultSetTableModel.getAutoGeneratedColumnSet();
    ResultSetTableModel.setAutoGeneratedColumnSet();
    ResultSetTableModel.moveToInsertRow(boolean);
    ResultSetTableModel.removeInsertRow();
  13. Adds new PivotTableModel to support pivot table, the "PivotTableDemo" in run-demo.bat demonstrate this feature.
  14. New SyncAction and new method "buildSql" in SyncHelper allow customizing the insert, update and delete sql statement.
  15. New TreeHeaderTableModel and TreeHeaderTableModelHelper with the new tree view component type in JLineBar to support the tree header in JDataGrid, the "TreeHeaderGridDemo" in run-demo.bat demonstrate this feature.
  16. New component XScrollBar to support tabbed component in scroll bar.
  17. New component XViewport is a JViewport extension allow disable the JViewport paint rountine.
  18. WorkBook add new method to get the WorkSheet by the specified name:
    WorkBook.getSheet(String);
  19. New ColorIcon added in com.zfqjava.swing package to paint the specified color.
  20. CellManager add new method named "configurePreferredCellComponentType" to configure the preferred cell component type, the boolean value will use the check box, the date type will use the JCalendar.
  21. Two new static factory method "valueOf" method added in Cell class:
    Cell.valueOf(int, int);
    Cell.valueOf(int, int, int, int);
  22. New method added in AbstractCellEditor to customize the focus gained behavior:
    AbstractCellEditor.getFocusGainedBehavior();
    AbstractCellEditor.setFocusGainedBehavior(int);
  23. Chart package: AbstractNode add new methods:
    AbstractNode.isToggleOnSelect();
    AbstractNode.setToggleOnSelect(boolean);
    AbstractNode.isLabelRendererEnabled();
    AbstractNode.setLabelRendererEnabled(boolean);
  24. Chart package: ArcNode add new methods:
    ArcNode.setAngle(double, double);
    ArcNode.getAngleStart();
    ArcNode.getAngleExtent();
  25. Chart package: Chart class add new method to customize the layout behavior:
    Chart.isLayoutOnSelectionChanged();
    Chart.setLayoutOnSelectionChanged();
  26. Chart package: Link add new methods to customize the segment label:
    Link.setSegmentLabel(int, String);
    Link.getSegmentLabel(int);
    Link.setPointLabel(int, String);
    Link.getPointLabel(int);
  27. Chart package: PieChart add new methods to customize the series link and percent label:
    PieChart.isSeriesLinkVisible();
    PieChart.setSeriesLinkVisible(boolean);
    PieChart.isPercentVisible();
    PieChart.setPercentVisible(boolean);
  28. AbstractDataGridModel add new methods to customize the editable property and other:
    AbstractDataGridModel.clearRowEditable(int);
    AbstractDataGridModel.clearColumnEditable(int);
    AbstractDataGridModel.clearCellEditable(int, int);
    AbstractDataGridModel.getResolveCellEditable(int, int);
    AbstractDataGridModel.findColumn(String);
    AbstractDataGridModel.isColumnNameSet(int);
    AbstractDataGridModel.getFormulaContext();
Click herer to read more... http://www.zfqjava.com/docs/componentpack/relnotes.html

Official Website: http://www.zfqjava.com

0
Published at DZone with permission of its author, Fuqiang Zhao.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)