Package swing.button

Examples of swing.button.Button


   
    return cancelButton;
  }
 
  protected Button createCancelButton() {
    Button temp = new Button(getFormResource("Form.CancelButton"));
   
    return temp;
  }
View Full Code Here


   
    return resetButton;
  }
 
  protected Button createResetButton() {
    Button temp = new Button(getFormResource("Button.Reset"));
    temp.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        reset();
      }
    });
   
View Full Code Here

   
    return modositButton;
  }
 
  protected Button createModositButton() {
    Button temp = new Button(getFormResource("Button.Modosit"));
    temp.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        try {
          DolgozoUtil.update(getLogin(), getDolgozo(), getDolgozoNev());
          fill();
        } catch (Exception ex) {
View Full Code Here

   
    return felveszButton;
  }
 
  protected Button createFelveszButton() {
    Button temp = new Button(getFormResource("Button.Felvesz"));
    temp.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        try {
          Dolgozo d = DolgozoUtil.insert(getLogin(), getDolgozoNev());
          setTkod(d.getTkod());
        } catch (Exception ex) {
View Full Code Here

   
    return torolButton;
  }
 
  protected Button createTorolButton() {
    Button temp = new Button(getFormResource("Button.Torol"));
    temp.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        try {
          DolgozoUtil.delete(getLogin(), getDolgozo());
          reset();
        } catch (Exception ex) {
View Full Code Here

TOP

Related Classes of swing.button.Button

Copyright © 2018 www.massapicom. 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.