package de.haw.rnp01.newsticker;

import de.haw.rnp01.newsticker.model.News;
import de.haw.rnp01.newsticker.model.RandomGenerator;
import de.haw.rnp01.newsticker.view.NewsView;

import java.util.ArrayList;

/**
 * Created by daniel on 21.03.2016.
 */
public class Controller {

    private ArrayList<News> news;
    private RandomGenerator randomGenerator;
    private NewsView view;

    public void showView() {

    }
}
@@ -393,26 +393,227 @@
 lic 
-void showView() %7B%0A
+Controller() %7B%0A        this.news = new ArrayList%3CNews%3E();%0A        this.randomGenerator = new RandomGenerator();%0A        this.view = new NewsView();%0A    %7D%0A%0A    public void showView() %7B%0A        this.view.setVisible(true);
 %0A   

Make view visible on creation