public List<Palabra> getListado(String c){
        Connection con = null;
        Statement stat = null;
        ResultSet rs = null;
        ResultSet rs2 = null;
        List<Palabra> lista = new ArrayList<>();
        try {
            con = DriverManager.getConnection("jdbc:sqlite:DBVocabulario.s3db");
            stat = con.createStatement();
            rs = stat.executeQuery("select id,palabra, contador from Palabras where palabra LIKE '"+c+"%';");
            while(rs.next()){
                 lista.add(new Palabra(rs.getInt(1),rs.getString(2),rs.getInt(3)));                            
            }
            return lista;
        } catch (SQLException ex) {
            System.out.println("Error " + ex.getMessage());
            return null;
        } finally {
            if (rs != null) try { rs.close(); } catch (SQLException e) { }
            if (stat != null) try { stat.close(); } catch (SQLException e) { }
            if (con != null) try {  con.commit(); con.close(); } catch (SQLException e) { }
        }        
    }