Ejemplo n.º 1
0
 public ProjectExplorer getProjectExplorer() {
   if (projectExplorer == null) {
     projectExplorer = new ProjectExplorer();
     projectExplorer.addWindowListener(
         new WindowAdapter() {
           @Override
           public void windowClosing(WindowEvent event) {
             shutdown();
           }
         });
     projectExplorerController = new ProjectExplorerController(projectExplorer);
   }
   return projectExplorer;
 }