Examples of addActionListener()


Examples of com.jeans.trayicon.TrayIconPopupSimpleItem.addActionListener()

                        }
                    });

                TrayIconPopup popup = new TrayIconPopup("Menu");
                TrayIconPopupSimpleItem showPopup = new TrayIconPopupSimpleItem("Show");
                showPopup.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent ev) {
                            trayIcon.setVisible(false);
                            activeListFrame.show();
                        }
                    });
View Full Code Here

Examples of com.jgoodies.uif.component.UIFButton.addActionListener()

    {
        final UIFButton button = new UIFButton(caption);

        button.setMnemonic(mnemonic);
        button.setOpaqueMode(Modes.LAF_NON_AQUA);
        button.addActionListener(listener);

        return button;
    }
}
View Full Code Here

Examples of com.jidesoft.status.ButtonStatusBarItem.addActionListener()

    // build mailbutton
    ButtonStatusBarItem bsbi = new ButtonStatusBarItem();
    bsbi.setText(I18N.t("Send feedback"));
    bsbi.setIcon(IconCache.get("mail_web"));
    bsbi.addActionListener(new AE() {

      @Override
      public void run() {
        BasicTabEvent.openFeedback();
View Full Code Here

Examples of com.jidesoft.swing.JideButton.addActionListener()

        for (int i = 0; i < _pageList.getPageCount(); i++) {
            final AbstractDialogPage optionsPanel = _pageList.getPage(i);
            final JideButton button = createIconButton(optionsPanel.getTitle(), optionsPanel.getIcon());
            button.setToolTipText(optionsPanel.getDescription());
            button.setEnabled(optionsPanel.isPageEnabled());
            button.addActionListener(new AbstractAction() {
                private static final long serialVersionUID = 4451059166068761678L;

                public void actionPerformed(ActionEvent e) {
                    setCurrentPage(optionsPanel, buttonsPanel);
                    if (getCurrentPage() == optionsPanel) {
View Full Code Here

Examples of com.jpokemon.util.ui.button.JPokemonButton.addActionListener()

      }
    });
    northPanel.add(npcSelector);

    JButton newNPC = new JPokemonButton("New");
    newNPC.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent arg0) {
        NPCEditor.this.onClickNewNPC();
      }
    });
    northPanel.add(newNPC);
View Full Code Here

Examples of com.kokakiwi.mclauncher.ui.simple.components.TransparentButton.addActionListener()

       
        if (offline)
        {
            final TransparentButton optionsButton = new TransparentButton(
                    Translater.getString("login.retryButton"));
            optionsButton.addActionListener(new ActionListener() {
               
                public void actionPerformed(ActionEvent e)
                {
                    buildLoginBox(false);
                }
View Full Code Here

Examples of com.l2client.gui.dialogs.RevivePanel.addActionListener()

    desktopPane.add(internalFrame);
   
    wireInputSwitch(new ArrayList<BaseUsable>()/*must pass empty otherwise not overriden*/, pan);
   
     // standard swing action:
    pan.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        // this gets executed in swing thread
        // alter swing components only in swing thread!
        jmeDesktop.setModalComponent(null);   
        internalFrame.setVisible(false);
View Full Code Here

Examples of com.lightcrafts.ui.toolkit.CoolButton.addActionListener()

//            }
//        );

        JButton asShot = new CoolButton();
        asShot.setText(LOCALE.get("AsShotButtonText"));
        asShot.addActionListener(
            new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    Map<String, Double> sliders = raw.getAsShot();
                    for (String key : sliders.keySet()) {
                        double value = sliders.get(key);
View Full Code Here

Examples of com.mucommander.ui.dialog.pref.component.PrefRadioButton.addActionListener()

      public boolean hasChanged() {
        String timeFormat = MuConfigurations.getPreferences().getVariable(MuPreference.TIME_FORMAT);
            return isSelected() != (timeFormat.equals(HOUR_24_TIME_FORMAT) || timeFormat.equals(HOUR_24_TIME_FORMAT_WITH_SECONDS));
      }
        };
        time24RadioButton.addActionListener(this);
       
        String timeFormat = MuConfigurations.getPreferences().getVariable(MuPreference.TIME_FORMAT);
        if(timeFormat.equals(HOUR_12_TIME_FORMAT) || timeFormat.equals(HOUR_12_TIME_FORMAT_WITH_SECONDS))
            time12RadioButton.setSelected(true);
        else
View Full Code Here

Examples of com.nexirius.framework.swing.CFJButton.addActionListener()

    public JButton createJButton(String textResourceId, ActionListener actionListener) {
        JButton button = new CFJButton(resources, textResourceId);

        if (actionListener != null) {
            button.addActionListener(actionListener);
        }

        return button;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.