Package com.commander4j.gui

Examples of com.commander4j.gui.JButton4j.addActionListener()


    btn4j_Help.setMnemonic('0');
    btn4j_Help.setBounds(458, 576, 126, 30);
    desktopPane.add(btn4j_Help);

    JButton4j btn4j_Close = new JButton4j(Common.icon_close);
    btn4j_Close.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent arg0) {
        dispose();
      }
    });
    btn4j_Close.setText(lang.get("btn_Close"));
View Full Code Here


    label4j_statusBar.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED));
    label4j_statusBar.setBounds(0, 618, 762, 21);
    desktopPane.add(label4j_statusBar);

    JButton4j button4j_Run = new JButton4j(Common.icon_execute);
    button4j_Run.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent arg0) {
        runReport(textField4j_ReportID.getText());
      }
    });
    button4j_Run.setText(lang.get("btn_Run"));
View Full Code Here

    button4j_Run.setMnemonic('0');
    button4j_Run.setBounds(166, 576, 126, 30);
    desktopPane.add(button4j_Run);

    JButton4j button4j_ViewSchema = new JButton4j(Common.icon_help);
    button4j_ViewSchema.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        JLaunchMenu.runForm("FRM_ADMIN_SCHEMA_BROWSE");
      }
    });
    button4j_ViewSchema.setText(lang.get("btn_Schema"));
View Full Code Here

    textField4j_SavePath.setCaretPosition(0);
    textField4j_SavePath.setBounds(117, 459, 589, 21);
    desktopPane.add(textField4j_SavePath);

    final JButton4j button4j_SavePath = new JButton4j((Icon) null);
    button4j_SavePath.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent arg0) {
        JFileChooser loadDir = new JFileChooser();

        try {
          // Set the current directory
View Full Code Here

    JLabel4j_std lblReport = new JLabel4j_std(lang.get("lbl_Database_Tables"));
    lblReport.setBounds(12, 12, 126, 15);
    desktopPane.add(lblReport);
   
    JButton4j button4jClose = new JButton4j(Common.icon_close);
    button4jClose.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent arg0) {
        dispose();
      }
    });
    button4jClose.setText(lang.get("btn_Close"));
View Full Code Here

      public void run() {
        jTextFieldDescription.requestFocus();
        jTextFieldDescription.setCaretPosition(jTextFieldDescription.getText().length());
       
        JButton4j btnSelect = new JButton4j("Background Color");
        btnSelect.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
             decis.setBackground(JColorChooser.showDialog(Common.mainForm, "Change Background",
                 decis.getBackground()));
             jTextFieldDescription.setBackground(decis.getBackground());
             jButtonUpdate.setEnabled(true);
View Full Code Here

    desktopPane.add(btnClose);

    JButton4j btnSearch = new JButton4j(lang.get("btn_Search"));
    btnSearch.setBounds(45, 157, 117, 32);
    btnSearch.setIcon(Common.icon_search);
    btnSearch.addActionListener(new ActionListener()
    {
      public void actionPerformed(ActionEvent e)
      {
        populateTable();
      }
View Full Code Here

    lbl_inspection.setHorizontalAlignment(SwingConstants.TRAILING);
    lbl_inspection.setBounds(6, 120, 111, 16);
    desktopPane.add(lbl_inspection);

    JButton4j btnExcel = new JButton4j(lang.get("btn_Excel"));
    btnExcel.addActionListener(new ActionListener()
    {
      public void actionPerformed(ActionEvent arg0)
      {
        JExcel export = new JExcel();
        PreparedStatement temp = buildSQL();
View Full Code Here


    scrollPaneResults.setViewportView(table);
   
    JButton4j btnEdit = new JButton4j(lang.get("btn_Edit"));
    btnEdit.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent arg0) {
        editRecord();
      }
    });
    btnEdit.setIcon(Common.icon_edit);
View Full Code Here

          dispose();
        }
      });

      JButton4j jButtonRefresh = new JButton4j();
      jButtonRefresh.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent arg0)
        {
          refresh();
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.