You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

C_SaveFile.java 848B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* ALT
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. *
  6. package controller;
  7. import java.awt.event.ActionEvent;
  8. import java.awt.event.ActionListener;
  9. import view.ContentTable;
  10. import view.gui;
  11. /**
  12. *
  13. * @author endresma66479
  14. *
  15. public class C_SaveFile implements ActionListener
  16. {
  17. gui frm;
  18. public C_SaveFile(gui g)
  19. {
  20. this.frm = g;
  21. }
  22. public void registerEvents()
  23. {
  24. this.frm.getBtnSave().addActionListener(this);
  25. this.frm.getMiSave().addActionListener(this);
  26. this.frm.getMiSave_popup().addActionListener(this);
  27. ContentTable ct = this.frm.getContentTable1();
  28. }
  29. @Override
  30. public void actionPerformed(ActionEvent ae)
  31. {
  32. System.out.println("save...");
  33. }
  34. }
  35. */