transparentMode.setAction(new DynamicAction(SlidingTypeDescriptor.class,
"transparentMode",
new ViewContextSource(viewContext, SlidingTypeDescriptor.class),
new ChecBoxSelectionSource(transparentMode)));
panel.addEntry(1, 1, "transparentRatio : ", transparentRatio = new JSpinner(new SpinnerNumberModel(0.0, 0.0, 1.0, 0.05)));
transparentRatio.addChangeListener(
new ChangeListenerAction(SlidingTypeDescriptor.class,
"transparentRatio",
new ViewContextSource(viewContext, SlidingTypeDescriptor.class),
new ToFloatSource(new SpinnerValueSource(transparentRatio)))