Download Latest Version CUF-Java-2.0.8-2017-03-06.zip (2.5 MB)
Email in envelope

Get an email when there's a new version of CUF (Client Utilities & Framework)

Home
Name Modified Size InfoDownloads / Week
cuf 2017-03-06
README.txt 2017-03-06 3.5 kB
CUF-Java-2.0.8-2017-03-06.zip 2017-03-06 2.5 MB
Totals: 3 Items   2.5 MB 0
CUF 2.0.8
=========
This is a medium feature release (for Java only) with the following changes:
o fixed: a lot of minor bugs (MultiSelectionTableModelAdapter firing only once, JMenu insertion with negative index, EDT exception handling, ..)
o improved: implemented generics for request handling (Request, Response), AspectAdapter and MultiSelectionInList
o changed: switch Intellij to .idea format to make sharing the config simpler (only relevant for CUF core development, not relevant for use)
o changed: NewTableSorter.clearSortingState() is now public so we can force a re-sorting when the data changes during a callback
o added: better list/table/etc. handling:
  + the SwingListSelectionState now also supperts a reverse index
  + the SwingTableModelFillState and SwingTreeModelFillState now allow to change the threshold via setCompareContent()
  + listSelection now supports handing over the index (or the reverse index) in the ref2 attribute
  + listFill, tableFill and treeFill now supports handing over the threshold as a integer in the ref2 attribute
  + a new MinMaxState
  + an opaque attribute to switch a component to opaque when it is disabled
  + optional implementation of the TableFilterPlugin, to enable filtering
  + extUpdRef attribute to the XML description of value models to notify another value model via signalExternalUpdate() if our own value changed. Useful to update 'grandparents' about changes in a aspect adapter or simular down the road.
o updated: dependencies (Junit, jdom2)
o improved: better serialize support for MultiSelectionInList 
o improved: better re-use of glasspane
o improved: made constructor of DialogManager public to allow external usage of the dialog manager

This will be most likely the last Java 7 CUF release, with Java 8 we can greatly improve the callback handling by utilizing lambdas/method references.


Usage
=====
Since CUF 2.0.0, CUF is contained in Maven Central, so you can use the simple lines
    <dependency>
        <groupId>net.sf.cuf</groupId>
        <artifactId>cuf-swing</artifactId>
        <version>2.0.8</version>
    </dependency>
in your Maven pom for your CUF Swing Projects and
    <dependency>
        <groupId>net.sf.cuf</groupId>
        <artifactId>cuf-javafx</artifactId>
        <version>2.0.8</version>
    </dependency>
for your CUF JavaFX Projects to get the latest version of CUF.

As an alternative, the CUF-Java-2.0.8-2017-03-06.zip file contains most Maven artefacts as
well as some documentation:

cuf-fw-2.0.8.jar                                the CUF framework (both for Swing/JavaFX)
cuf-fw-2.0.8-sources.jar                        the CUF framework sources
cuf-swing-2.0.8.jar                             the CUF Swing support
cuf-swing-2.0.8-sources.jar                     the CUF Swing support sources
cuf-javafx-2.0.8.jar                            the CUF JavaFX support
cuf-javafx-2.0.8-sources.jar                    the CUF JavaFX support sources

csvview.jar                                        the executable Swing CSV sample app
cuf-csvview-2.0.8-sources.jar                   the sources for the Swing CSV sample app
cuf-csvviewfx-2.0.8-app                         the executable JavaFX CSV sample app
cuf-csvviewfx-2.0.8-sources.jar                 the sources for the JavaFX CSV sample app
cuf-swing-examples-2.0.8-sources.jar            the sources of additional CUF Swing examples

cuf-doc                                         some CUF documentation
Source: README.txt, updated 2017-03-06