title: Retina-compatible JLabel Image
body: <p>I have two versions of an image: <em>logo.png</em> (265x150) and <em>logo@2x.png</em> (530x300).
  The second one is the retina-version.</p>
  
  <p>In my Java application I have a <strong>JLabel</strong> on which I'm setting the background to an image like so:<br></p>
  
  <pre><code>contentPane = new JPanel();
  JLabel lblNewLabel = new JLabel("");
  lblNewLabel.setBackground(Color.WHITE);
  lblNewLabel.setBounds(9, 6, 265, 150);
  lblNewLabel.setIcon(new ImageIcon("login_logo.png"));
  contentPane.add(lblNewLabel);
  </code></pre>
  
  <p>This works fine, but I'm not sure how to display the retina-version properly on my Macbook Pro Retina.
  The retina image isn't scaled resulting in an image that is only partially visible.</p>