@Override
    public void actionPerformed(ActionEvent e) {
        if(e.getActionCommand() == "masuk"){
            DatabaseService ds = new DatabaseService();
            try {
                String hasil = ds.login(tfUsername.getText(), pfPassword.getText());
                if(hasil != ""){
                    System.out.println("benar");
                    
                    Vector makan = ds.getMakanan();
                    for(int i=0; i< makan.size(); i++){
                       Vector objs = (Vector) makan.get(i);
                       for(int j=0; j< objs.size(); j++){
                        System.out.print(objs.get(j).toString());
                       }
                    System.out.println();
                    }
                    /*Menu m = new Menu();
                    m.luncur();*/
                }
                else{
                    System.out.println("salah");
                }
                
            } catch (Exception ex) {
                Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
    }