List of usage examples for java.awt.event ActionListener interface-usage
From source file org.xulux.swing.listeners.PrePostFieldListener.java
/**
* Maybe use some kind of cache to see what next event comes through??
* Functionality like hasWaitingRequests() or something like that.
* Also if a user closes the window, widget.destroy should be called
*
* @todo Find a better way to handle the concel button.
From source file openlr.mapviewer.coding.ui.ApplyChangesListener.java
/**
* This class implements the action listener that executes the action to apply
* all changes currently specified in the input fields of the form.
* <p>
* OpenLR is a trade mark of TomTom International B.V.
* <p>
From source file SimpleSounds.java
/**
* This application demonstrates the use of 3D sound. It loads three sounds:
* loop3.wav is an ambient background sound and loop1.wav and loop2.wav are
* point sounds. The two point sounds can be switched on and off use AWT
* buttons. The user can navigate around the scene using the keyboard.
*
From source file net.itransformers.topologyviewer.menu.handlers.graphFileMenuHandlers.SaveCurrentGraphMenuHandler.java
/**
* Created by IntelliJ IDEA.
* Date: 12-4-27
* Time: 23:30
* To change this template use File | Settings | File Templates.
*/
From source file edu.cwru.sepia.agent.visual.VisualAgent.java
/**
* A visual agent
* This serves two purposes: it allows a human to play the game, and, more importantly,
* it allows one to look at what the agent is doing through its effect on the state.
*
*/
From source file org.datacleaner.actions.SaveAnalysisResultActionListener.java
/** * Action listener used to fire saving a result to an .analysis.result.dat * (serialized) file. */ public class SaveAnalysisResultActionListener implements ActionListener {
From source file org.zaproxy.zap.extension.openapi.ImportFromUrlDialog.java
public class ImportFromUrlDialog extends AbstractDialog implements ActionListener { private static final long serialVersionUID = -7074394202143400215L; private static final String MESSAGE_PREFIX = "openapi.importfromurldialog."; private ExtensionOpenApi caller;
From source file edu.scripps.fl.pubchem.xmltool.gui.PubChemXMLCreatorGUI.java
public class PubChemXMLCreatorGUI extends JPanel implements ActionListener, MouseListener { private JLabel jlbFileTemplate, jlbFileExcel; private JTextField jtfFileExcel, jtfFileTemplate; private JTextPane jtpExcelTemplate, jtpExample; private JButton jbnFileExcel, jbnFileTemplate, jbnRunCreator, jbnReportCreator;
From source file com.anrisoftware.prefdialog.appdialogs.registerdialog.ApprovalActionListener.java
/**
* Retrieves the entered registration name and code.
*
* @author Erwin Mller, erwin.mueller@deventm.de
* @since 1.0
*/
From source file Main.java
class MyJTree extends JTree implements ActionListener { JPopupMenu popup = new JPopupMenu(); JMenuItem mi = new JMenuItem("Insert a children"); MyJTree(DefaultMutableTreeNode dmtn) { super(dmtn);