Package miage.jtreeindex

Examples of miage.jtreeindex.MainWindow


      String workDir = PreferencesManager.get("tageditor.tageditorframe.workingdir");
      if (workDir != null) {
        File file = new File(workDir);
        int i = file.getAbsolutePath().indexOf(File.separatorChar);
        String root = file.getAbsolutePath().substring(0, i+1);
        jTabbedPaneExplo_Index.addTab(LangageManager.getProperty("miage.index"), null, new MainWindow(root, frameTagEditor()), null);
      }
      else {
        jTabbedPaneExplo_Index.addTab(LangageManager.getProperty("miage.index"), null, new MainWindow(), null);
      }

     
      jTabbedPaneExplo_Index.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent e) {
View Full Code Here


  }
 
  private void changeJTree(File selectedRoot, int tabbed){
    if(jTabbedPaneExplo_Index.getTabCount()>=2);
      jTabbedPaneExplo_Index.remove(1);
    jTabbedPaneExplo_Index.addTab(LangageManager.getProperty("miage.index"), null, new MainWindow(selectedRoot), null);
    jTabbedPaneExplo_Index.setSelectedIndex(tabbed);
  }
View Full Code Here

TOP

Related Classes of miage.jtreeindex.MainWindow

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.