I am trying to add another JPanel from another class into my main JPanel. A random number is generated and if it is a certain value it will import a new Panel with movie info into my main Panel to be displayed. I am not sure why my panel is not showing when I click my button.  
public class NetflixFrame extends JFrame {
public JButton button;
public NetflixFrame() {
    super ("App");
    MovieSuggestion port = new MovieSuggestion();
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    setSize(new Dimension(800,800));
    button = new JButton("Start");
    JPanel primary = new JPanel();
    primary.setBackground(Color.GREEN);
    primary.setPreferredSize(new Dimension(800,800));
    primary.add(button);
    button.addActionListener(new ActionListener(){
        public void actionPerformed(ActionEvent e) {
            int score1 = (int )(Math.random() * 11 + 1);
            if(score1<=10) {
                port.Panel1();
            }
        }
    });
    add(primary);
    setVisible(true);
}
  }
Panel to be added:
public class MovieSuggestion extends JFrame{
public static Component Panel1() {
    ImageIcon image = new ImageIcon("./src/Hook.jpg");
    JPanel first = new JPanel();
    first.setPreferredSize(new Dimension(250,200));
    first.setBackground(Color.GREEN);
    JLabel imageLabel = new JLabel("Favorite Movie:", image, SwingConstants.CENTER);
    imageLabel.setHorizontalTextPosition(SwingConstants.CENTER);
    imageLabel.setVerticalTextPosition(SwingConstants.TOP);
    imageLabel.setFont(new Font("Times New Roman", Font.PLAIN, 20));
    first.add(imageLabel, BorderLayout.WEST);
    return first;
}
 
     
    