View difference between Paste ID: nxWjQT0x and jExXHRA4
SHOW: | | - or go back to the newest paste.
1-
public class MainScreen extends javax.swing.JFrame {
1+
http://arkkindia.com/
2-
2+
http://aasatshirt.com/
3-
    private TableRowSorter<TableModel> sorter;
3+
http://advanced-physio.com/
4-
4+
http://aerobikjeans.com/
5-
    public MainScreen() {
5+
http://alaiydialmahira.com/
6-
        initComponents();
6+
http://amoodinursery.com/
7-
        this.setSize(java.awt.Toolkit.getDefaultToolkit().getScreenSize());
7+
http://applemacbook-dubaiuae.com/
8-
8+
http://artistsugo.com/
9-
        sorter = new TableRowSorter<>(tblCustomer.getModel());
9+
http://avighnawebdesign.com/
10-
        tblCustomer.setRowSorter(sorter);
10+
http://bestlowestprice-led3dtv-dubaiuae.com/
11-
        List<BasicDetailsDTO> findAll = UtilDAO.getDaoBasicDetails().findAll();
11+
http://bhaleraoelectricalworks.com/
12-
        System.out.println("I'm here  "+findAll.size());
12+
http://bvcpl.net/
13-
13+
http://callamango.org/
14-
14+
http://climatemiles.com/
15-
        ((DefaultTableModel) tblCustomer.getModel()).setDataVector(getDataVector(findAll), getVectorHeader());
15+
http://craigolan.com/
16-
        tblCustomer.setAutoCreateRowSorter(true);
16+
http://dattamandirnirulratnagiri.com/
17-
        tblCustomer.getColumnModel().getColumn(0).setMinWidth(0);
17+
http://deltaquestsolutions.com/
18-
        tblCustomer.getColumnModel().getColumn(0).setMaxWidth(0);
18+
http://deshasthamaratha.com/
19-
19+
http://dmenterprises.in/
20-
    }
20+
http://dmiracles.in/
21-
21+
http://dreammoneylife.com/
22-
    public static Vector getDataVector(List<BasicDetailsDTO> listData) {
22+
http://drsaple.com/
23-
        Vector dataVector = new Vector();
23+
http://eagleelevator.in/
24-
        for (BasicDetailsDTO instance : listData) {
24+
http://eccenturefreight.com/
25-
            Vector row = new Vector();
25+
http://excellentvideo.in/
26-
            row.add(instance.getId());
26+
http://fantasycollections.in/
27-
            row.add(instance.getParticulars());
27+
http://firstmark.in/
28-
            row.add(instance.getBookedBy());
28+
http://getspiffed.com/
29-
            row.add(instance.getContactPerson());
29+
http://graphtoneindia.com/
30-
            row.add(instance.getMobileNo());
30+
http://greattrade.in/
31-
            row.add(instance.getEmail_id());
31+
http://gurudattaenggco.com/
32-
            dataVector.add(row);
32+
http://hellomumbaikar.com/
33-
33+
http://hemantkulkarni.com/
34-
        }
34+
http://hhrfonline.com/
35-
        return dataVector;
35+
http://highvizsecurity.com/
36-
36+
http://igproject.net/
37-
    }
37+
http://impactindexcricket.com/
38-
38+
http://infanto.com/index.htm
39-
    public static Vector getVectorHeader() {
39+
http://injusticeinksatowidow.com/
40-
40+
http://intop.co.in/
41-
        Vector header = new Vector();
41+
http://jaimaharashtrian.com/
42-
        header.add("ID");
42+
http://jdconstructionindia.com/
43-
        header.add("Particulars");
43+
http://jkbullion.in/
44-
        header.add("BOOKED BY");
44+
http://joycecaterers.com/
45-
        header.add("CONTACT PERSON");
45+
http://kaverienterprises.com/
46-
        header.add("MOBILE NO");
46+
http://kidzsmiles.in/
47-
        header.add("EMAIL ID");
47+
http://kismatconnection.net/
48-
        return header;
48+
http://konkansales.com/
49-
49+
http://lamerclinic.com/
50-
    }
50+
http://leishapharmatraders.com/
51-
51+
http://makeovercollection.com/
52-
    private void btnAddActionPerformed(java.awt.event.ActionEvent evt) {                                       
52+
http://martandluminaries.com/
53-
        // TODO add your handling code here:
53+
http://memaharashtrian.com/
54-
54+
http://mittalcorporation.net/
55-
        displayPanel(new HomePage(), "Details Of Customer", 1200, 800);
55+
http://myfinegroup.com/
56-
    }                                      
56+
http://nandgaoncity.com/
57-
57+
http://nandgaoncollege.com/
58-
    private void tblCustomerKeyPressed(java.awt.event.KeyEvent evt) {                                       
58+
http://ndventerprise.com/
59-
        // TODO add your handling code here:
59+
http://nfdlrm.org/
60-
    }                                      
60+
http://no2co2.in/
61-
61+
http://oiepvt.com/
62-
    private void tblCustomerMousePressed(java.awt.event.MouseEvent evt) {                                         
62+
http://paramountcorporation.in/
63-
        // TODO add your handling code here:
63+
http://perfectautomationindia.com/
64-
    }                                        
64+
http://physioneed.com/
65-
65+
http://pickoneartist.com/
66-
    private void btnDeleteActionPerformed(java.awt.event.ActionEvent evt) {                                          
66+
http://sailortravels.com/
67-
        // TODO add your handling code here:
67+
http://samarpit.net/
68-
68+
http://santoshindustry.com/
69-
        if (tblCustomer.getSelectedRow() == -1) {
69+
http://sarkarrajpress.com/
70-
            displayError("Please Select the Record");
70+
http://sarojsweets.com/
71-
            return;
71+
http://satamudyog.com/
72-
        }
72+
http://satanacollege.com/
73-
73+
http://shelterconstructions.com/
74-
        int option = displayConfirmDialog("Do you Really want to delete Record ?");
74+
http://shivprasadroadways.com/
75-
        if (option == JOptionPane.YES_OPTION) {
75+
http://shreedigitalscales.com/
76-
            String recordId = tblCustomer.getValueAt(tblCustomer.getSelectedRow(), 0).toString();
76+
http://shreeswamigajanan.org/
77-
            BasicDetailsDTO instance = UtilDAO.getDaoBasicDetails().findById(Integer.parseInt(recordId));
77+
http://shreeswamisamarthdecorators.com/
78-
78+
http://simplee.in/
79-
            instance.setDeleted(Boolean.TRUE);
79+
http://simplyfit.in/
80-
            UtilDAO.getDaoBasicDetails().remove(instance);
80+
http://smarthrconsultants.com/
81-
81+
http://smvyeola.com/
82-
            List<BasicDetailsDTO> findAll = UtilDAO.getDaoBasicDetails().findAll();
82+
http://sradvertise.com/
83-
            getDataVector(findAll);
83+
http://srishtinews.com/
84-
84+
http://startekindia.in/
85-
            displayMessage(" Record Deleted ");
85+
http://stepout.co.in/
86-
        }
86+
http://sugoadvertising.com/
87-
87+
http://sujoktherapy.co.in/
88-
    }                                         
88+
http://tekeratest.in/
89-
89+
http://thegreensignal.org/
90-
    private void btnEditActionPerformed(java.awt.event.ActionEvent evt) {                                        
90+
http://ujwalenterprises.com/
91-
        // TODO add your handling code here:
91+
http://umeshphotography.in/
92-
92+
http://universalgroup.net.in/
93-
        if (tblCustomer.getSelectedRow() == -1) {
93+
http://vaishnaviraj.com/
94-
            displayError("Please select record.");
94+
http://varadlogistics.com/
95-
            return;
95+
http://varungems.com/
96-
        }
96+
http://vbconsultancy.com/
97-
        String recordID = tblCustomer.getValueAt(tblCustomer.getSelectedRow(), 0).toString();
97+
http://vijetahealthcare.com/
98-
        BasicDetailsDTO instance = UtilDAO.getDaoBasicDetails().findById(Integer.parseInt(recordID));
98+
http://vijetapowersaver.com/
99-
99+
http://vision-ser.com/
100-
        displayPanel(new HomePage(instance, 1), "Customer " + instance.getBillingName(), 1200, 1000);
100+
http://zoyacoutureweb.com/