Examples of addActionListener()


Examples of org.jdesktop.swingx.JXDatePicker.addActionListener()

        label.setText("Choose Date by selecting below.");

        add(label, BorderLayout.NORTH);

        final JXDatePicker datePicker = new JXDatePicker(System.currentTimeMillis());
        datePicker.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                label.setText(datePicker.getDate().toString());
            }
        });
View Full Code Here

Examples of org.jdesktop.swingx.JXHyperlink.addActionListener()

                    label.setText("Level " + i);
                    if (i == lvl) {
                        label.setFont(label.getFont().deriveFont(Font.BOLD));
                    }
                    label.putClientProperty(LABEL_KEY, new Integer(i));
                    label.addActionListener(LevelPanel.this);
                    add(label, "wrap");
                }
            }
        });
    }
View Full Code Here

Examples of org.jdraw.swing.TaggedMenuItem.addActionListener()

      for (File f : recentFiles.getRecentFiles()) {
        TaggedMenuItem mi = new TaggedMenuItem();
        mi.setTag(f);
        mi.setText(f.getName());
        mi.setToolTipText(f.getAbsolutePath());
        mi.addActionListener(menuActionListener);
        menuRecentFiles.add(mi);
      }
    }
  }
View Full Code Here

Examples of org.jitterbit.application.ui.search.string.StringFilterField.addActionListener()

        StringFilterField nameFilterField = createNameFilterField();
        this.nameFilterField = nameFilterField;
        resultTable = createResultTable();
        startAction = new StartSearchAction();
        rootSelector.addActionListener(startAction);
        nameFilterField.addActionListener(startAction);
        stopAction = new StopSearchAction();
        statusPanel = new StatusPanel();
    }

    private FileSelectorPanel createRootSelector() {
View Full Code Here

Examples of org.jitterbit.integration.client.ui.project.location.ProjectBrowserLocationDisplayer.addActionListener()

    private ProjectBrowserLocationDisplayer createLocationDisplayer() {
        ProjectLocation suggestedLocation = getSuggestedProjectNameAndLocation();
        ProjectBrowserLocationDisplayer disp = ProjectLocationBrowser.getNewProjectBrowser(
                        suggestedLocation.getProjectName(), suggestedLocation.getLocation());
        disp.addActionListener(createAction);
        Enablable e = EnablabeAdapterFactory.fromAction(createAction);
        disp.addValidInputSensor(e);
        return disp;
    }
View Full Code Here

Examples of org.jitterbit.ui.util.file.FileSelectorPanel.addActionListener()

                        Strings.getJitterPackString("Export.FileSelector.Title"), recentFiles);
        selector.setFileFilter(JitterPackerUi.FILE_FILTER);
        LabelDecorator d = TextStyles.InputLabelText.asLabelDecorator(JitterpackResources.EXPORT_16);
        selector.decorateTitle(d);
        selector.displayLastFile();
        selector.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent evt) {
                if (doExportAction != null) {
                    doExportAction.actionPerformed(evt);
View Full Code Here

Examples of org.jitterbit.ui.widget.button.BigButton.addActionListener()

    private UiProvider getWrapper(final ConsoleLauncher launcher) {
        JComponent ui = InvisiblePanel.newPanel(launcher);
        ui.setBorder(Empty.border(5));
        ui.setBackground(Color.WHITE);
        BigButton button = new BigButton(ui);
        button.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
                launcher.launch();
            }
View Full Code Here

Examples of org.jitterbit.ui.widget.button.KongaButton.addActionListener()

        return InvisiblePanel.newPanel(launchButton);
    }

    private JButton createLaunchButton() {
        JButton btn = new KongaButton(PackageResources.Launcher.LABEL, PackageResources.Launcher.ICON);
        btn.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
                showDisplayer();
            }
View Full Code Here

Examples of org.jitterbit.ui.widget.button.KongaCheckBox.addActionListener()

        this.denyBox = createCheckBox();
    }

    private JCheckBox createCheckBox() {
        JCheckBox cb = new KongaCheckBox();
        cb.addActionListener(this);
        return cb;
    }

    public boolean isAllowed() {
        return allowBox.isSelected();
View Full Code Here

Examples of org.jitterbit.ui.widget.button.KongaRadioButton.addActionListener()

    }

    private JRadioButton createRadioButton(ButtonGroup group, ActionListener lst) {
        JRadioButton b = new KongaRadioButton(group);
        b.setOpaque(false);
        b.addActionListener(lst);
        return b;
    }

    private void addInputComponents() {
        addInputPanel(panelA);
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.