/** * Constructs. * * @param display The VisAD display to use. * @throws DisplayException The VisAD display is <code>null</code>. * @throws VisADException VisAD failure. * @throws RemoteException Java RMI failure. */ public DisplayAdapter(DisplayImpl display) throws DisplayException, VisADException, RemoteException { if (display == null) { throw new DisplayException(getClass().getName() + ".<init>: " + "Display argument is null"); } this.display = display; updater = new Updater(); updater.setPriority(Thread.currentThread().getPriority() / 2); datumTable = new DatumTable(); scalarMapTable = new ScalarMapTable(); constantMapTable = new ConstantMapTable(); }