Package Control

Examples of Control.ReportesC


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

    private void ActualizarBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ActualizarBActionPerformed
        if (listareportesCB.getSelectedIndex() == 0) {
            reporte = new ReportesC();
            if (bogotaRB.isSelected()) {
                tablaT.setModel(reporte.genRepEst("Bogota", estacionesCB.getSelectedItem().toString()));
            } else if (caliRB.isSelected()) {
                tablaT.setModel(reporte.genRepEst("Cali", estacionesCB.getSelectedItem().toString()));
            } else {
                JOptionPane.showMessageDialog(null, "Por favor seleccione una opción", "Error", JOptionPane.ERROR_MESSAGE);
            }
        } else if (listareportesCB.getSelectedIndex() == 1) {
            reporte = new ReportesC();
            if (bogotaRB.isSelected()) {
                tablaT.setModel(reporte.genRepInv("Bogota"));
            } else if (caliRB.isSelected()) {
                tablaT.setModel(reporte.genRepInv("Cali"));
            }
        } else if (listareportesCB.getSelectedIndex() == 2) {
            reporte = new ReportesC();
            if (bogotaRB.isSelected()) {
                tablaT.setModel(reporte.genRepPunEst("Bogota"));
            } else if (caliRB.isSelected()) {
                tablaT.setModel(reporte.genRepPunEst("Cali"));
            } else {
View Full Code Here

TOP

Related Classes of Control.ReportesC

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.