Package edu.stanford.genetics.treeview.core

Examples of edu.stanford.genetics.treeview.core.MenuHelpPluginsFrame


   * This method displays the current plugin info.
   * I set it up as a method so that it can be overridden
   * by AppletViewFrame
   */
  protected void displayPluginInfo() {
    MenuHelpPluginsFrame frame = new MenuHelpPluginsFrame(
        "Current Plugins", this);
    File f_currdir = new File(".");
    try {
      frame.setSourceText(f_currdir.getCanonicalPath() + File.separator +"plugins" + File.separator);
    } catch (IOException e) {
      frame.setSourceText("Unable to read default plugins directory.");
    }
    frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
    frame.setVisible(true);
  }
View Full Code Here


    super(treeview, appName);
    browserControl= new AppletBrowserControl(applet);
   
  }
  protected void displayPluginInfo() {
    MenuHelpPluginsFrame frame = new MenuHelpPluginsFrame(
        "Current Plugins", this);
    try {
      URL f_currdir;
      f_currdir = new URL(".");
      frame.setSourceText(f_currdir.getPath() + "/plugins");
    } catch (MalformedURLException e1) {
      e1.printStackTrace();
      frame.setSourceText("Unable to read default plugins directory.");
    }
    frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
    frame.setVisible(true);
  }
View Full Code Here

TOP

Related Classes of edu.stanford.genetics.treeview.core.MenuHelpPluginsFrame

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.