2122232425262728293031
public void actionPerformed(ActionEvent ae) { NavigationPanel navPanel = NavigationPanel.getInstance(); if (navPanel.isActive()){ navPanel.deactivate(); }else{ navPanel.activate(); } } public boolean isInToolBar() { return true;