4,10 → 4,10 |
* Coded by: Group 5, software practice summer 2003 |
* University of Bielefeld, Germany |
* |
* @version $Revision: 1.50 $ |
* @version $Revision: 1.51 $ |
* |
* Last modification: $Date: 2003/07/23 13:51:59 $ |
* $Id: UpdateView.java,v 1.50 2003/07/23 13:51:59 cstollen Exp $ |
* Last modification: $Date: 2003/07/23 13:55:06 $ |
* $Id: UpdateView.java,v 1.51 2003/07/23 13:55:06 mdonner Exp $ |
*/ |
|
package src.gui; |
46,7 → 46,7 |
* |
* @author Christian Stollenwerk |
* |
* @version $Revision: 1.50 $ Last modification: $Date: 2003/07/23 13:51:59 $ |
* @version $Revision: 1.51 $ Last modification: $Date: 2003/07/23 13:55:06 $ |
*/ |
public class UpdateView implements ActionListener, UpdateViewInterface, |
OurEventListener, TreeModelListener, TreeExpansionListener, TreeSelectionListener { |
127,7 → 127,7 |
|
if(treeVisibleList.size() != 0) { |
int selectedRow=((Integer)treeVisibleList.getFirst()).intValue(); |
return newPopUpJTree.getPathForRow(selectedRow-1); |
return newPopUpJTree.getPathForRow(selectedRow-1); // -1 because root is not visible |
}else{ |
return null; |
} |