home *** CD-ROM | disk | FTP | other *** search
/ IT.SOFT 22 / ITSOFTCD_22.iso / pc / shareware22 / file / COOSCALE.ZIP / CA_CS.JAV next >
Encoding:
Text File  |  1998-02-12  |  691 b   |  39 lines

  1. import java.awt.*;
  2. import java.applet.*;
  3. import cooscale;
  4.  
  5. public class caller_cs extends Applet
  6. {
  7.     cooscale bean;
  8.  
  9.     public void init()
  10.     {
  11.         setLayout(null);
  12.         resize(238,100);
  13.        // setBackground(new Color(16776960));
  14.         
  15.         try {
  16.         cooscale1 = new cooscale();
  17.         
  18.         cooscale1.setLayout(new FlowLayout(FlowLayout.CENTER,5,5));
  19.         cooscale1.reshape(24,12,192,100);
  20.         add(cooscale1);
  21.         
  22.         cooscale1.start();
  23.         } catch (Exception e) { }
  24.         cooscale1.setApplet(this);
  25.         cooscale1.setSelfTest(true);
  26.         
  27.         
  28.         
  29.     }
  30.     
  31.     public void stop()                                     
  32.     { 
  33.        cooscale1.cancelAll();
  34.     }
  35.     
  36.     cooscale cooscale1;
  37.  
  38. }
  39.