Smaller down the image size in JPanel
<p>I trying to create a GUI as image below</p>

<p><a href="https://i.stack.imgur.com/pNzUk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pNzUk.png" alt="enter image description here"></a> </p>

<p>However, when I run my file, the size of the image still remain the original size </p>

<p><a href="https://i.stack.imgur.com/iLJyW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iLJyW.png" alt="enter image description here"></a></p>

<p>How can I reduce the size of the image so I can add text beside ?</p>

<pre><code>public class HomePage extends JFrame {
  public static void main(String[] args) throws IOException {
    new HomePage();
  }

  public HomePage() throws IOException {
    this.setTitle("Picture Application");
    this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    getContentPane().setBackground(Color.yellow);
    BufferedImage myPicture = ImageIO.read(new File("C:\\Users\\seng\\Desktop\\logo.png"));
    myPicture.getScaledInstance(10,30,Image.SCALE_SMOOTH);
    JLabel picLabel = new JLabel(new ImageIcon(myPicture));
    add(picLabel);
    this.pack();
    this.setVisible(true);
  }
}
</code></pre>