Example #1
0
  /**
   * Sets the currently active FileTable. This method is to be called by FolderPanel only.
   *
   * @param table the currently active FileTable
   */
  void setActiveTable(FileTable table) {
    boolean activeTableChanged = activeTable != table;

    if (activeTableChanged) {
      this.activeTable = table;

      // Update window title to reflect new active table
      updateWindowTitle();

      // Fire table change events on registered ActivePanelListener instances.
      fireActivePanelChanged(table.getFolderPanel());
    }
  }
Example #2
0
 /**
  * ******************************** LocationListener Implementation
  * ********************************
  */
 public void locationChanged(LocationEvent e) {
   // Update window title to reflect the new current folder
   updateWindowTitle();
 }