Main.java :  » REST » tabulasoftmed » org » softmed » rest » editor » Java Open Source

Java Open Source » REST » tabulasoftmed 
tabulasoftmed » org » softmed » rest » editor » Main.java
package org.softmed.rest.editor;

import javax.swing.JFrame;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

import org.softmed.rest.admin.file.FileManagerProxy;
import org.softmed.rest.admin.httpMethods.HTTPMethodEditor;
import org.softmed.rest.admin.mediaType.MediaTypeChooser;
import org.softmed.rest.admin.mediaType.MediaTypeEditor;

public class Main {

  /**
   * @param args
   */
  public static void main(String[] args) {

    try {
      // UIManager.setLookAndFeel(
      // "com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");

      // "com.sun.java.swing.plaf.windows.WindowsLookAndFeel");

      UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());

      // UIManager.setLookAndFeel(
      // UIManager.getCrossPlatformLookAndFeelClassName());

    } catch (UnsupportedLookAndFeelException e) {
      e.printStackTrace();
      return;
    } catch (ClassNotFoundException e) {
      e.printStackTrace();
      return;
    } catch (InstantiationException e) {
      e.printStackTrace();
      return;
    } catch (IllegalAccessException e) {
      e.printStackTrace();
      return;
    }

    FileManagerProxy fileManagerProxy = new FileManagerProxy();

    RESTEditor editor = new RESTEditor();
    editor.setFileManager(fileManagerProxy);

  }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.