Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Suppose RealType vis = RealType.getRealType("VIS"); ScalarMap visMap = new ScalarMap(vis, Display.RGB); visMap.setRange(-10.0f,10.0f); ScalarMap visRangeMap = new ScalarMap(vis, Display.SelectRange); visRangeMap.setRange(-10.0f,10.0f); ..... JFrame f = new JFrame(); f.getContentPane().add (new RangeWidget(visMap),BorderLayout.NORTH); f.getContentPane().add (new ColorMapWidget(visMap),BorderLayout.CENTER); f.getContentPane().add (new SelectRangeWidget(visRangeMap),BorderLayout.SOUTH); If I make some change in RangeWidget, i.e. change -10.0f to -5.0f, how this change be reflected in SelectRangeWidget, that is, the select range slider will be moved only between -5.0 to 10.0 Thanks,
visad
archives: