private void setDefaultTable(){
        try{
            Class.forName ("com.mysql.jdbc.Driver");

            String urldb="jdbc:mysql://localhost:3306/restaurant";
            String user=main.dbUser;
            String password=main.dbPassword;
            Connection koneksi=java.sql.DriverManager.getConnection(urldb,user,password);
            
            String strSQL="SELECT `no_pesanan`, `tgl_pesanan`, `no_meja`, `lunas` "
                         + "FROM `pesanan` WHERE `pesanan`.`username` = '"+main.username+"' "
                         + "ORDER BY no_pesanan, tgl_pesanan, `lunas`, `no_meja`";
            Statement st = koneksi.createStatement();
            ResultSet rs = st.executeQuery(strSQL);

            while(rs.next()){
                String lunas;
                if (rs.getInt(4) == 0){
                    lunas = "Belum";
                } else {
                    lunas = "Sudah";
                }
                tblModel.addRow(new Object[]{rs.getString(1), rs.getDate(2), rs.getInt(3), lunas});
            }

            rs.close();
            st.close();
            koneksi.close();
        }catch(ClassNotFoundException cnfe){
            System.out.println("KESALAHAN SAAT"+"ME-LOAD DRIVER JDBC \n"+cnfe.getMessage());
        }catch(SQLException sqle){
            System.out.println("KESALAHAN SAAT KONEKSI ATAU "+"KESALAHAN QUERY SQL \n"+sqle.getMessage());
        }
    }