public void run() {
        synchronized (articles) {


                if (articles.isReady == false) {
                    try {
                        System.out.println("!!!!!waiting parser!!!!!!");
                        articles.wait();
                    } catch (InterruptedException e) {
                        e.printStackTrace();
                    }
                }
                while (articles.isReady) {
                    System.out.println("Read...");
                    view();
                    articles.notifyAll();
                    try {
                        if (articles.isReady)
                            System.out.println(".....S");
                        articles.wait();
                    } catch (InterruptedException e) {
                        e.printStackTrace();
                    }
                }
            }
        System.out.println("Reader read");
        }