Package nz.govt.natlib.meta.ui

Examples of nz.govt.natlib.meta.ui.ImageButton.addActionListener()


    });
    jPanel1.setLayout(borderLayout1);
    jLabel1.setText("Message Priority:");
    close.setMnemonic('C');
    close.setText("Close");
    close.addActionListener(new java.awt.event.ActionListener() {
      public void actionPerformed(ActionEvent e) {
        close_actionPerformed(e);
      }
    });
    jPanel3.setBorder(titledBorder3);
View Full Code Here


        if ((selected != null) && (selected.isDirectory())) {
          logDir.setText(selected.getAbsolutePath());
        }
      }
    });
    inputDirButt.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        File selected = FileDialog.showSelectDialog(parent, new File(
            inputDir.getText()).getAbsolutePath());
        if ((selected != null) && (selected.isDirectory())) {
          inputDir.setText(selected.getAbsolutePath());
View Full Code Here

        if ((selected != null) && (selected.isDirectory())) {
          logDir.setText(selected.getAbsolutePath());
        }
      }
    });
    inputDirButt.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        File selected = FileDialog.showSelectDialog(parent, new File(
            inputDir.getText()).getAbsolutePath());
        if ((selected != null) && (selected.isDirectory())) {
          inputDir.setText(selected.getAbsolutePath());
View Full Code Here

    // pgbc.gridy = 2;
    // pgbc.weightx = 0;
    // pgbc.fill = GridBagConstraints.NONE;
    // passwordPnl.add(changeBtn,pgbc);

    changeBtn.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent ae) {
        String oldPassword = new String(oldPasswordTxt.getPassword());
        String newPassword = new String(newPasswordTxt.getPassword());
        String confirmPassword = new String(confirmPasswordTxt
            .getPassword());
View Full Code Here

    } catch (Exception e) {
    }
    ImageButton closeHelp = new ImageButton("Close", closeIcon);
    closeHelp.setMnemonic('C');
    closeHelp.setText("Close");
    closeHelp.addActionListener(new java.awt.event.ActionListener() {
      public void actionPerformed(ActionEvent e) {
        closeHelp_actionPerformed(e);
      }
    });
    jPanel1.setLayout(flowLayout1);
View Full Code Here

      this.getContentPane().add(wrapPanel, BorderLayout.CENTER);
      mainPnl.setBorder(scheduleBorder);
      dday = tw.getScheduledTime();
      final ScheduleRunner scheduler = new ScheduleRunner();
      Thread t = new Thread(scheduler);
      cancelButton.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent ae) {
          LogManager.getInstance().logMessage(LogMessage.INFO,
              "Scheduled harvest cancelled ");
          scheduler.cancel();
        }
View Full Code Here

    applyButt.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent ae) {
        schedule();
      }
    });
    closeButton.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent ae) {
        parent.setVisible(false);
      }
    });
  }
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.