home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 14 / IOPROG_14.ISO / soft / sdkjava / sdkjava.exe / SDKJava.cab / AFC102 / Samples / LoanCalc / Src / WZIntro.java < prev    next >
Encoding:
Java Source  |  1998-03-05  |  519 b   |  25 lines

  1. //
  2. // (c) 1997 Microsoft Corporation.  All rights reserved.
  3. //
  4. import com.ms.ui.*;
  5. import com.ms.fx.*;
  6.  
  7. public class WZIntro extends UIWizardStep implements LCConsts
  8. {
  9.     public WZIntro()
  10.     {
  11.         super(new UIGraphic(LCImages.get(INTRO)), new IntroPnl());
  12.     }
  13. }
  14.  
  15. class IntroPnl extends UIPanel implements LCConsts
  16. {
  17.     public IntroPnl()
  18.     {
  19.         UIDrawText dt;
  20.         setLayout(new UIBorderLayout());
  21.         dt = new UIDrawText(INTRO_TXT);
  22.         dt.setWordWrap(IFxTextConstants.wwKeepWordIntact);
  23.         add(dt, "center");
  24.     }
  25. }