Skip to main content

New Binding problem

No replies
rturnbull
Offline
Joined: 2005-08-27
Points: 0

As I understand it, there are two ways to use the new binding.

One is to use the Swingx components in the binding branch that implement DataAware and use methods of the form component.setBindingContext()

The other is to use the classes that implement the Binding interface which should work with standard Swing/Swingx components using methods of the form ctx.bind(component, dataPath)

Using the second way I get an error in the JXTableBinding constructor, where it tries to execute the line
setSelectionModelName(table.getSelectionModelName());
as the method getSelectionModelName() does not exist in the standard JXTable