Пример #1
0
 /** @param args the command line arguments */
 public static void main(String args[]) {
   // Build the UI on the Swing thread
   EventQueue.invokeLater(
       new Runnable() {
         public void run() {
           new LibraryUI();
         }
       });
 }
Пример #2
0
  public static void main(String[] args) {
    EventQueue.invokeLater(
        new Runnable() {
          public void run() {
            try {
              SotrudnikDialog frame = new SotrudnikDialog();
              frame.setVisible(true);

            } catch (Exception e) {
              e.printStackTrace();
            }
          }
        });
  }