Example usage for javax.swing.event PopupMenuListener interface-usage

List of usage examples for javax.swing.event PopupMenuListener interface-usage

Introduction

In this page you can find the example usage for javax.swing.event PopupMenuListener interface-usage.

Usage

From source file MyPopupMenuListener.java

class MyPopupMenuListener implements PopupMenuListener {
    public void popupMenuCanceled(PopupMenuEvent popupMenuEvent) {
        System.out.println("Canceled");
    }

    public void popupMenuWillBecomeInvisible(PopupMenuEvent popupMenuEvent) {

From source file MyPopupMenuListener.java

class MyPopupMenuListener implements PopupMenuListener {
    public void popupMenuCanceled(PopupMenuEvent popupMenuEvent) {
        System.out.println("Canceled");
    }

    public void popupMenuWillBecomeInvisible(PopupMenuEvent popupMenuEvent) {

From source file Main.java

class MyPopupMenuListener implements PopupMenuListener {
    public void popupMenuWillBecomeVisible(PopupMenuEvent evt) {
        JComboBox cb = (JComboBox) evt.getSource();
    }

    public void popupMenuWillBecomeInvisible(PopupMenuEvent evt) {

From source file MainClass.java

class MyPopupMenuListener implements PopupMenuListener {
    public void popupMenuCanceled(PopupMenuEvent popupMenuEvent) {
        System.out.println("Canceled");
    }

    public void popupMenuWillBecomeInvisible(PopupMenuEvent popupMenuEvent) {

From source file org.apache.cayenne.modeler.util.PathChooserComboBoxCellEditor.java

/**
 * This class used as cell editor, when you need to
 * choose path in comboBox and use autocompletion.
 */
@SuppressWarnings("WeakerAccess")
public abstract class PathChooserComboBoxCellEditor extends AbstractCellEditor

From source file net.sf.jabref.gui.RightClickMenu.java

public class RightClickMenu extends JPopupMenu implements PopupMenuListener {
    private static final Log LOGGER = LogFactory.getLog(RightClickMenu.class);

    private final BasePanel panel;
    private final MetaData metaData;
    private final JMenu groupAddMenu = new JMenu(Localization.lang("Add to group"));

From source file org.esa.nest.dat.views.polarview.PolarView.java

/**
 * NEST
 * User: lveci
 * Date: Dec 1, 2008
 */
public final class PolarView extends BasicView

From source file org.esa.snap.graphbuilder.rcp.dialogs.support.GraphPanel.java

/**
 * Draws and Edits the graph graphically
 * User: lveci
 * Date: Jan 15, 2008
 */
public class GraphPanel extends JPanel

From source file net.sf.jabref.gui.menus.RightClickMenu.java

public class RightClickMenu extends JPopupMenu implements PopupMenuListener {
    private static final Log LOGGER = LogFactory.getLog(RightClickMenu.class);

    private final BasePanel panel;
    private final JMenuItem groupAdd;
    private final JMenuItem groupRemove;

From source file org.esa.s1tbx.dat.views.polarview.PolarView.java

/**
 * NEST
 * User: lveci
 * Date: Dec 1, 2008
 */
public final class PolarView extends BasicView