/* VisAD system for interactive analysis and visualization of numerical data. Copyright (C) 1996 - 1999 Bill Hibbard, Curtis Rueden, Tom Rink, Dave Glowacki, Steve Emmerson, Tom Whittaker, Don Murray, and Tommy Jasmin. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ import java.awt.Component; import javax.swing.JPanel; import javax.swing.BoxLayout; import java.rmi.RemoteException; import visad.*; import visad.java3d.DisplayImplJ3D; import visad.util.LabeledColorWidget; import visad.util.SelectRangeWidget; public class Test61 extends UISkeleton { private boolean nice = false; private ScalarMap map1color = null; private ScalarMap xrange = null; private ScalarMap yrange = null; private ScalarMap zrange = null; public Test61() { } public Test61(String[] args) throws RemoteException, VisADException { super(args); } int checkExtraKeyword(int argc, String[] args) { nice = true; return 1; } DisplayImpl[] setupServerDisplays() throws RemoteException, VisADException { DisplayImpl[] dpys = new DisplayImpl[1]; dpys[0] = new DisplayImplJ3D("display", DisplayImplJ3D.APPLETFRAME); return dpys; } private static float[][] buildTable(float[][] table) { int length = table[0].length; for (int i=0; i