public void setVisible(boolean visible) {
    window.setVisible(visible);

    if (visible) {
      window.toFront();
      window.requestFocus();
    }
  }
  public WelcomeScreen() {
    window.getContentPane().setLayout(new BorderLayout());
    window.getContentPane().add(layoutPanel, BorderLayout.CENTER);
    window.pack();
    window.setWidthPercentageOfScreen(0.9);
    window.center();

    openRecentProjectButton.setEnabled(recentProjectsComboBox.getItemCount() > 0);

    new Listener();
  }