package no.ntnu.fp.gui;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.JOptionPane;
/**
* This is a dummy implementation of the functionality for breaking off a network connection with
* another application.
*
* @author Thomas Østerlie
*
* @version $Revision: 1.4 $ - $Date: 2005/02/20 21:54:51 $
*/
class DisconnectAction extends AbstractAction {
/**
* Parent component.
*/
private ProjectPanel projectPanel;
/**
* Default constructor. Initialises member variables.
*
*/
public DisconnectAction(ProjectPanel projectPanel) {
this.projectPanel = projectPanel;
}
/**
* Invoked when an action occurs.
*
* @param e The action event.
*/
public void actionPerformed(ActionEvent arg0) {
JOptionPane.showMessageDialog(projectPanel, "Function not implemented.");
}
}