Beispiel #1
0
 public JPEmpresa() {
   initComponents();
   ce = new ControladorEmpresa();
   controladorPostpago = new ControladorPostPago();
   jCBCod_plan1.setModel(new javax.swing.DefaultComboBoxModel(controladorPostpago.listar()));
   jCBCod_plan3.setModel(new javax.swing.DefaultComboBoxModel(controladorPostpago.listar()));
   jCBCod_plan2.setModel(new javax.swing.DefaultComboBoxModel(controladorPostpago.listar()));
 }
Beispiel #2
0
 private void jCBCod_plan3PopupMenuWillBecomeVisible(
     javax.swing.event.PopupMenuEvent
         evt) { // GEN-FIRST:event_jCBCod_plan3PopupMenuWillBecomeVisible
   jCBCod_plan3.setModel(new javax.swing.DefaultComboBoxModel(controladorPostpago.listar()));
   // TODO add your handling code here:
 } // GEN-LAST:event_jCBCod_plan3PopupMenuWillBecomeVisible
Beispiel #3
0
 private void jCBCod_plan1PopupMenuWillBecomeVisible(
     javax.swing.event.PopupMenuEvent
         evt) { // GEN-FIRST:event_jCBCod_plan1PopupMenuWillBecomeVisible
   jCBCod_plan1.setModel(new javax.swing.DefaultComboBoxModel(controladorPostpago.listar()));
 } // GEN-LAST:event_jCBCod_plan1PopupMenuWillBecomeVisible