Package vg.userInterface.utilPlugins

Examples of vg.userInterface.utilPlugins.LookAndFeelChanger


            new vg.modules.filter.FilterPlugin().install(param);
            new UndoAndRedo().install(param);
            new SearchPlugin().install(param);
            new GUIOpener().install(param);
            new JGraphSettings().install(param);
            new LookAndFeelChanger().install(param);
            new NotepadPlugin().install(param);
            new PathSelectingPlugin().install(param);
            new AttributePlugin().install(param);
            new StorablePlugin().install(param);
            new ZoomPlugin().install(param);
View Full Code Here


        new FilterPlugin().install(param);
        new UndoAndRedo().install(param);
        new SearchPlugin().install(param);
        new GUIOpener().install(param);
        new JGraphSettings().install(param);
        new LookAndFeelChanger().install(param);
        new NotepadPlugin().install(param);
        new PathSelectingPlugin().install(param);
        new AttributePlugin().install(param);
        new StorablePlugin().install(param);
        new ZoomPlugin().install(param);
        view.quit();
      }
      System.out.println("Stady state: It may take several minutes");
      float best = -1;
      for(i = 0; i < 5; i++) {
        SQLite4JavaModel model = new SQLite4JavaModel();
        GraphLayoutManager layoutManager = new GraphLayoutManager();
        SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
        PluginParameter param = new PluginParameter(model, view);
        // adding system functions--------
        long start = new Date().getTime();
        new SimpleTabCloser(view);
        new DesktopPlugin().install(param);
        new mxLayoutsRegister(view.getGraphLayoutManager());
        new FilterPlugin().install(param);
        new UndoAndRedo().install(param);
        new SearchPlugin().install(param);
        new GUIOpener().install(param);
        new JGraphSettings().install(param);
        new LookAndFeelChanger().install(param);
        new NotepadPlugin().install(param);
        new PathSelectingPlugin().install(param);
        new AttributePlugin().install(param);
        new StorablePlugin().install(param);
        new ZoomPlugin().install(param);
View Full Code Here

        SQLite4JavaModel model = new SQLite4JavaModel();
        GraphLayoutManager layoutManager = new GraphLayoutManager();
        SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
        PluginParameter param = new PluginParameter(model, view);
        // adding system functions--------
        new LookAndFeelChanger().install(param);
        view.quit();
      }
      System.out.println("Stady state: It may take several minutes");
      float best = -1;
      for(i = 0; i < 5; i++) {
        SQLite4JavaModel model = new SQLite4JavaModel();
        GraphLayoutManager layoutManager = new GraphLayoutManager();
        SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
        PluginParameter param = new PluginParameter(model, view);
        // adding system functions--------
        long start = new Date().getTime();
        new LookAndFeelChanger().install(param);
        view.quit();
        long finish = new Date().getTime();
        if((best > 0 && (finish - start)/1000.0 < best) || best < 0) {
          best = (finish - start)/1000.0f;
        }
View Full Code Here

        SQLite4JavaModel model = new SQLite4JavaModel();
        GraphLayoutManager layoutManager = new GraphLayoutManager();
        SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
        PluginParameter param = new PluginParameter(model, view);
        // adding system functions--------
        new LookAndFeelChanger().install(param);
        view.quit();
      }
      System.out.println("Stady state: It may take several minutes");
      float best = -1;
      for(i = 0; i < 5; i++) {
        SQLite4JavaModel model = new SQLite4JavaModel();
        GraphLayoutManager layoutManager = new GraphLayoutManager();
        SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
        PluginParameter param = new PluginParameter(model, view);
        // adding system functions--------
        long start = new Date().getTime();
        new LookAndFeelChanger().install(param);
        view.quit();
        long finish = new Date().getTime();
        if((best > 0 && (finish - start)/1000.0 < best) || best < 0) {
          best = (finish - start)/1000.0f;
        }
View Full Code Here

          public void run() {
            try {
              GraphLayoutManager layoutManager = new GraphLayoutManager();
              SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
              PluginParameter param = new PluginParameter(model, view);
              new LookAndFeelChanger().install(param);
              view.quit();
            } catch (Exception e) {
            }
          }
        });
       
       
      }
      System.out.println("Stady state: It may take several minutes");
      float best = -1;
      for(i = 0; i < 5; i++) {
        final SQLite4JavaModel model = new SQLite4JavaModel();
        long start = new Date().getTime();
        SwingUtilities.invokeAndWait(new Runnable() {
          @Override
          public void run() {
            try {
              GraphLayoutManager layoutManager = new GraphLayoutManager();
              SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
              PluginParameter param = new PluginParameter(model, view);
              new LookAndFeelChanger().install(param);
              view.quit();
            } catch (Exception e) {
            }
          }
        });
View Full Code Here

      GraphLayoutManager layoutManager = new GraphLayoutManager();
      SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
      PluginParameter param = new PluginParameter(model, view);
      // adding system functions--------
      new NotepadPlugin().install(param);
      new LookAndFeelChanger().install(param);
    } catch (Throwable ex) {
      ex.printStackTrace();
    }
  }
View Full Code Here

TOP

Related Classes of vg.userInterface.utilPlugins.LookAndFeelChanger

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.