///////////////////////////////////////////////////////////////////////////////
//
//  WHO:   John L. Moreland
//
//  WHAT:  coord
//
//  WHY:   Example applet illustrating object coordination
//
//  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_cs;


public class coord1 extends Applet
{
	public void init()
	{
		// SFColor ScrollBar
		sfcolor_sb sfc1 = new sfcolor_sb( );
		sfc1.setValue( 1.0f, 0.5f, 0.0f );
		add( sfc1 );

		// SFColor ColorSwatch
		sfcolor_cs sfc2 = new sfcolor_cs( );
		add( sfc2 );

		sfc2.setNotify( sfc1 );  // Note order to get config
		sfc1.setNotify( sfc2 );
	}
}

