Package biblioteca.admin.catalogos

Examples of biblioteca.admin.catalogos.Email


    /**
     * Creates new form FrmEmailEditar
     */
    public FrmEmailEditar() {
        initComponents();
        Email email=new Email();       
        email.get(frmRef.idSel);
        jTextField2.setText(email.getDireccion());
    }
View Full Code Here


        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jButton3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jButton3MouseClicked
        // TODO add your handling code here:
        Email email=new Email();
        email.setId((long)1);
        email.setDireccion(jTextField2.getText());
        email.update();
    }//GEN-LAST:event_jButton3MouseClicked
View Full Code Here

    public Long idSel;
    /**
     * Creates new form FrmEmailPrincipal
     */
    public FrmEmailPrincipal() {
        email=new Email();
        datos=email.getListEmails();
        columnas=new Vector<String>();
        columnas.add("Id");
        columnas.add("Direccion");
        initComponents();
View Full Code Here

        columnas.add("Direccion");
        initComponents();
    }
   
    public void refrescaDatos(){
        email=new Email();
        datos=email.getListEmails();
        TableModel model=  new DefaultTableModel(
            datos,columnas
        );
        jTable1.removeAll();
View Full Code Here

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jButton3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jButton3MouseClicked
        // TODO add your handling code here:
        Email email=new Email((long)1,jTextField2.getText());
        email.save();
        frmRef.refrescaDatos();
        this.hide();
    }//GEN-LAST:event_jButton3MouseClicked
View Full Code Here

TOP

Related Classes of biblioteca.admin.catalogos.Email

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.