FileDocCategorySizeDatePackage
PickleUser.javaAPI DocExample677Tue Jun 03 23:33:26 BST 1997None

PickleUser.java

// This example is from the book Developing Java Beans by Robert Englander. 
// Copyright (c) 1997 O'Reilly & Associates.
// You may study, use, modify, and distribute this example for any purpose.
// This example is provided WITHOUT WARRANTY either expressed or implied.

// Chapter 5 -- The PickleUser class

import java.applet.*;
import java.beans.*;
import BeansBook.util.*;

public class PickleUser extends Applet
{
   public void init()
   {
      try
      {
         PickleButton p = 
              (PickleButton)Beans.instantiate(null, "BeansBook.util.PickleButton");
         add(p);
      }
      catch (Exception e)
      {
      }
   }
}