content: package Interfaces;
  
  //Imports
  import javax.swing.ImageIcon;
  import javax.swing.JButton;
  import javax.swing.JFrame;
  import javax.swing.JLabel;
  import java.awt.event.ActionEvent;
  import java.awt.event.ActionListener;
  import java.awt.*;
  
  //Java Class Imports
  
  import Interfaces.HomeScreen;
  
  
  public class HomeScreen extends JFrame{
      public HomeScreen(){
          //JFrame Definitions
          setTitle("Grain Storage Managment System"); //Title Changed
          setSize(1000, 700);
          setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          setLayout(null);
          getContentPane().setBackground(Color.white);
  
          //JFrame Logo
          ImageIcon iconImage = new ImageIcon(getClass().getResource("assets/icon.png"));
          Image image = iconImage.getImage();
          setIconImage(image);
  
          //JFrame Background Image
          ImageIcon backgroundImageSet = new ImageIcon(getClass().getResource("assets/HomeScreenBackground.png"));
          Image imageSet = backgroundImageSet.getImage();
          Image resizedImage = imageSet.getScaledInstance(1005, 700, Image.SCALE_SMOOTH);
          ImageIcon backgroundImage = new ImageIcon(resizedImage);
          JLabel backgroundImageSetter = new JLabel(backgroundImage);
          backgroundImageSetter.setBounds(0, 0, 1005, 700);
  
  
          /*//JFrame Logo Image
          ImageIcon logoImageSet = new ImageIcon(getClass().getResource("Assets/Logo.png"));
          Image logoSet = logoImageSet.getImage();
          Image resizedLogoImage = logoSet.getScaledInstance(400, 200, Image.SCALE_SMOOTH);
          ImageIcon logoImage = new ImageIcon(resizedLogoImage);
          JLabel logoImageSetter = new JLabel(logoImage);
          logoImageSetter.setBounds(50, 20, 400, 200);*/
          
          //JButton for Login Link
          JButton loginPageButton = new JButton("");
          loginPageButton.setBounds(215, 464, 200, 56);
          loginPageButton.setBorderPainted(false);
          loginPageButton.setBackground(Color.RED);
          loginPageButton.setForeground(Color.WHITE);
          loginPageButton.setContentAreaFilled(false);
          loginPageButton.setBorderPainted(false);
          loginPageButton.setOpaque(false);
  
          //JButton for SignUp Link
          JButton SignUpPageButton = new JButton("");
          SignUpPageButton.setBounds(585, 464, 200, 56);
          SignUpPageButton.setBorderPainted(false);
          SignUpPageButton.setBackground(Color.RED);
          SignUpPageButton.setForeground(Color.WHITE);
          SignUpPageButton.setContentAreaFilled(false);
          SignUpPageButton.setBorderPainted(false);
          SignUpPageButton.setOpaque(false);
  
  
          //Event actions defined for Login
          loginPageButton.addActionListener(new ActionListener() {
              public void actionPerformed(ActionEvent e){
                  dispose();
                  new LoginScreen().setVisible(true);
              }
          });
  
          //Event actions defined for SignUp
          SignUpPageButton.addActionListener(new ActionListener() {
              public void actionPerformed(ActionEvent e){
                  dispose();
                  new LoginScreenBuyer().setVisible(true);
              }
          });
      
      
      //Add Elements to the Frame
      add(loginPageButton);
      add(SignUpPageButton);
      //add(logoImageSetter);
      add(backgroundImageSetter);
      
      
  }   
  }
  