public DetailMenu( final Laureate vonnegut) {
        
        initComponents();
        
        closeButton.addActionListener(new CloseListener(this)); //controls the single button on the window.
        
        //set the labels with the Laureate's info
        ImageURLLoader loader = new ImageURLLoader(portraitLabel, vonnegut.getPhoto());
        loader.execute();
        
        
        prizeLabel.setText(vonnegut.getPrize().toUpperCase() + "  " + vonnegut.getYear());
        nameLabel.setText(vonnegut.getName());
        genderLabel.setText(vonnegut.getGender());
        lifespanLabel.setText(vonnegut.getBirth() + " - " + vonnegut.getDeath());
        countryLabel.setText(vonnegut.getCountry());
        affiliationLabel.setText(vonnegut.getAfiliation());
        lectureLabel.setText(vonnegut.getLecture());
        biographyLabel.setText(vonnegut.getBiography());
        fullNameLabel.setText(vonnegut.getLongName());
        super.pack();
        
        //sets up our biography URL link.  
        if(vonnegut.getBiography().contains("http://")){
            biographyLabel.setForeground(Color.blue);
            biographyLabel.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
            biographyLabel.addMouseListener(new MouseAdapter() {
                @Override
            public void mouseClicked(MouseEvent e) {
               if (e.getClickCount() > 0) {
                 if (Desktop.isDesktopSupported()) {
                    Desktop desktop = Desktop.getDesktop();
                       try {
                            URI uri = new URI(vonnegut.getBiography());
                            desktop.browse(uri);
                       }  catch (IOException | URISyntaxException ex) {
                       } 
                 }
               }
            }
        });
        }
        
        
        //sets up our lecture URL link
        if(vonnegut.getLecture().contains("http://")){
            lectureLabel.setForeground(Color.blue);
            lectureLabel.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
            lectureLabel.addMouseListener(new MouseAdapter() {
                @Override
            public void mouseClicked(MouseEvent e) {
               if (e.getClickCount() > 0) {
                 if (Desktop.isDesktopSupported()) {
                    Desktop desktop = Desktop.getDesktop();
                       try {
                            URI uri = new URI(vonnegut.getLecture());
                            desktop.browse(uri);
                       }  catch (IOException | URISyntaxException ex) {
                       } 
                 }
               }
            }
        });
        }

        
        
    }