home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 25 / IOPROG_25.ISO / SOFT / JavaS / javastar-eval.exe / data1.cab / Help_Files / tutorial / NameDataDecls / NamesWin.java < prev    next >
Encoding:
Java Source  |  1999-02-11  |  535 b   |  31 lines

  1. /* Map file generated by JavaStar */
  2.  
  3. package NameData;
  4. import suntest.javastar.lib.*;
  5. import java.awt.*;
  6.  
  7. public class NamesWin {
  8.  
  9.   /* Frame */
  10.   public static JSComponent NamePop(){
  11.     return JS.frame("Names");
  12.   }
  13.  
  14.     /* List */
  15.     public static JSComponent list(){
  16.       return NamePop().member("java.awt.List");
  17.     }
  18.  
  19.     /* Button */
  20.     public static JSComponent View(){
  21.       return NamePop().button("View");
  22.     }
  23.  
  24.     /* Button */
  25.     public static JSComponent Close(){
  26.       return NamePop().button("Close");
  27.     }
  28.  
  29. }
  30.  
  31.