Exemplo n.º 1
0
 public void showQuestion(Question question) {
   QuestionScreen screen = new QuestionScreen(this, question);
   window.getContentPane().removeAll();
   window.setContentPane(screen);
   window.revalidate();
 }
Exemplo n.º 2
0
 public WindowController(AdvisorWindow window, QuestionModel model) {
   this.window = window;
   this.model = model;
   window.setContentPane(new StartupScreen(this));
 }