home *** CD-ROM | disk | FTP | other *** search
/ BUG 15 / BUGCD1998_06.ISO / aplic / jbuilder / jsamples.z / Locator.java < prev    next >
Encoding:
Java Source  |  1997-07-03  |  480 b   |  27 lines

  1. package borland.samples.tutorial.dataset.locator;
  2.       
  3.  
  4. // Application Class
  5. public class Locator
  6. {
  7.   // main application Frame
  8.   LocatorFrame frame1;
  9.  
  10.   void init() throws Exception {
  11.     frame1 = new LocatorFrame();
  12.     frame1.pack();
  13.     frame1.setVisible(true);
  14.   }
  15.  
  16.   public static void main(String args[]) {
  17.     Locator app = new Locator();
  18.     try {
  19.       app.init();
  20.     }
  21.     catch (Exception x) {
  22.       // handle exceptions here
  23.     }
  24.   }
  25. }
  26.  
  27.