///////////////////////////////////////////////////////////////////////////////
//
//  WHO:   John L. Moreland
//
//  WHAT:  coord4
//
//  WHY:   Example applet illustrating DAS integration with EAI
//
//  WHERE: San Diego Supercomputer Center
//
//  WHEN:  Tue May  6 10:45:18 PDT 1997
//
//  HOW:   Java 1.0.x
//
///////////////////////////////////////////////////////////////////////////////


import java.awt.*;
import java.applet.*;
import sfcolor_sb;
import sfcolor_tf;
import sfcolor_cs;
import sfcolor_eai;
import Notify;


public class coord4 extends Applet
{
	public void init()
	{
		Notify landrew = new Notify();

		// SFColor ScrollBar
		sfcolor_sb sfc1 = new sfcolor_sb( );
		sfc1.setNotify( landrew );
		landrew.setNotify( sfc1 );
		sfc1.setValue( 1.0f, 0.5f, 0.0f );
		add( sfc1 );

		// SFColor Color Swatch
		sfcolor_cs sfc4 = new sfcolor_cs( );
		sfc4.setNotify( landrew );
		landrew.setNotify( sfc4 );
		add( sfc4 );

		// SFColor TextFields
		sfcolor_tf sfc3 = new sfcolor_tf( );
		sfc3.setNotify( landrew );
		landrew.setNotify( sfc3 );
		add( sfc3 );

		// SFColor EAI
		sfcolor_eai sfc5 = new sfcolor_eai( this, "MAT", "diffuseColor" );
		sfc5.setNotify( landrew );
		landrew.setNotify( sfc5 );
	}
}

